TODO : créer aussi une méthode pipeOnTopIf()
506717
public function pipeOnTop($middleware): self
    {
        array_unshift($this->middlewares, $this->decorate($middleware));

        return $this;
    }
445908
def FSkip(params, ctxt, scope, stream, coord):
    
    if len(params) != 1:
        raise errors.InvalidArguments(coord, "{} args".format(len(params)), "FSkip accepts only one argument")

    skip_amt = PYVAL(params[0])
    pos = skip_amt + stream.tell()
    return FSeek([pos], ctxt, scope, stream, coord)
115633
private File checkFile(File file) {
		final String extension = getExtension(file.getName()).toLowerCase(Locale.getDefault());
		if (!Arrays.asList(extensions).contains(extension)) {
			// En lecture, vérifie le format du fichier sélectionné.
			//			if (openOrSave) {
			//				final StringBuilder sb = new StringBuilder(
			//						"L'extension du fichier sélectionné n'est pas un format d'image accepté");
			//				sb.append(" (");
			//				for (final Iterator<String> it = Arrays.asList(extensions).iterator(); it.hasNext();) {
			//					sb.append(it.next());
			//					if (it.hasNext()) {
			//						sb.append(", ");
			//					}
			//				}
			//				sb.append(')');
			//				throw new IOException(sb.toString());
			//			}
			// si pas d'extension ou extension inconnue, on prend png par défaut
			return new File(file.getPath() + ".png");
		}

		return file;
	}
922729
private static void vswap(int[] fmap, int p1, int p2, int n) {
        n += p1;
        while (p1 < n) {
            int t = fmap[p1];
            fmap[p1++] = fmap[p2];
            fmap[p2++] = t;
        }
    }
348129
def Pipette(self, *args, **kwargs):
        
        return inst.Pipette(self.robot, *args, **kwargs)
173068
function pipe(val) {
  var fns = slice.call(arguments, 1)
  return fns.reduce(function (val, fn) {
    return fn(val)
  }, val)
}
187227
function(){
		if(this.type!==FILE_PZPR){ return;}
		
		switch(this.pid){
		case 'ichimaga':
			var pzlflag = this.body.split('\n')[0];
			if     (pzlflag==='mag')  { this.pid = 'ichimagam';}
			else if(pzlflag==='cross'){ this.pid = 'ichimagax';}
			break;
		case 'icelom':
			var pzltype = this.body.split('\n')[2];
			if(pzltype==='skipwhite'){ this.pid = 'icelom2';}
			break;
		case 'pipelink':
			var lines = this.body.split('\n'), row = 1, len = this.rows;
			if(lines.slice(row, row+len).join('').match(/o/)){
				this.pid = 'pipelinkr';
			}
			break;
		case 'bonsan':
			var lines = this.body.split('\n'), row = 2*this.rows, len = 2*this.rows-1;
			if(lines.slice(row, row+len).join('').match(/1/)){
				this.pid = 'heyabon';
			}
			break;
		case 'kramma':
			var lines = this.body.split('\n'), row = this.rows, len = this.rows+1;
			if(lines.slice(row, row+len).join('').match(/1/)){
				this.pid = 'kramman';
			}
			break;
		}
	}
1126110
public static Pipe newPipe(byte[] data, int offset, int length, boolean numeric) throws IOException
    {
        ArrayBufferInput in = new ArrayBufferInput(data, offset, length);
        return newPipe(in, numeric);
    }
70170
function pipe(commands, input) {
  if (!commands) {
    return input;
  }
  return commands.reduce(function(input, cmd) {
    return npmRun.sync(cmd, {
      input: input
    });
  }, input);
}
112554
function pipeToPromise(pipe) {
  const d = defer();
  let str = '';

  pipe.on('data', data => str += data)
    .on('error', d.reject)
    .on('end', () => d.resolve(str));
  return d.promise;
}
915740
@Override
  public <T> void inPipe(HeadersAmp headers, 
                          PipeSub<T> result,
                          StubAmp actor,
                          Object[] args)
  {
    result.fail(new UnsupportedOperationException(getClass().getName()));
  }
166626
function tokenizeByLine (element, index, array) {
    parser.line = index + 1
    parser.column = 1

    var paragraphNode = parser.createParentNode('Paragraph')

    // 空行ではない場合
    if (element !== '') {
      // 半角括弧を全角括弧に変換
      var str = new Jaco(element).toWideJapneseSymbol().toString()

      // 改行ノードをParagraphNodeに追加する
      parser.add(parser.createTextNode('Text', str), paragraphNode)
    }

    // 改行ノードをParagraphNodeに追加する
    parser.add(parser.createTextNode('WhiteSpace', '\n'), paragraphNode)

    // ParagraphNodeをRoodNodeに追加
    parser.add(paragraphNode, rootNode)
  }
1183287
function rel2absSeg(jPath,ind) {
        
        var seg = jPath.getSeg(ind),
        letter = seg.pathSegTypeAsLetter.toLowerCase(),
        args,ref;
        
        if (seg.pathSegTypeAsLetter !== letter) return; //déjà en absolu
        
        args = [ind,letter.toUpperCase()];
        ref = jPath.getCurPt(ind);
        
        if (letter === 'h') args.push(ref.x+seg.x);
        else if (letter === 'v') args.push(ref.y+seg.y);
        else if (letter === "m") args.push(seg.x,seg.y);
        else if (letter !== "z") {
            
            args.push(ref.x+seg.x,ref.y+seg.y);
            
            switch (letter) {
                case 'c' : args.push(ref.x+seg.x1,ref.y+seg.y1,ref.x+seg.x2,ref.y+seg.y2); break;
                case 'q' : args.push(ref.x+seg.x1,ref.y+seg.y1); break;
                case 'a' : args.push(seg.r1,seg.r2,seg.angle,seg.largArcFlag,seg.sweepFlag); break;
                case 's' : args.push(ref.x+seg.x2,ref.y+seg.y2); break;
            }
        }
        
        jPath.replaceSeg.apply(jPath,args);
    }
12573
function realtimeSimulationPipe(stream) {
  const parser = csv.parse({delimeter: ",", columns: true});
  const nodeStream = RxNode
  .fromStream(stream.pipe(parser))

  return Observable.zip(nodeStream,
                        Observable.interval(FIFTY_HZ),
                        (data, interval) => data)
  .catch(e => console.log(e))
  .map((v) => Object.assign({},
                            v,
                            {
                              time: new Date().getTime(),
                              x: parseInt(v.x),
                              y: parseInt(v.y),
                              z: parseInt(v.z),
                            }))
}
1095291
public void lire()
	{
		
		try
		{
		
		
			String adressedufichier = System.getProperty("user.dir") + "\\monfichier.txt";
			
			FileReader fr = new FileReader(adressedufichier);
			BufferedReader br = new BufferedReader(fr);
			
			String texte = "";
			int a = 0;
				while(a<2) //petite boucle 2 fois
				{
					texte = texte + br.readLine() + "\n";
					a++;		
				}
			br.close();
			
			//readLine pour lire une ligne
			//note: si il n y a rien, la fonction retournera la valeur null
			
			
			System.out.println(texte);
			//on affiche le texte
		
		}
		catch(IOException ioe){System.out.println("erreur : " + ioe);}
		
		
	
	}
483524
function methodSig () {
  return arrayify(this.params).filter(function (param) {
    return param.name && !/\./.test(param.name)
  }).map(function (param) {
    if (param.variable) {
      return param.optional ? '[...' + param.name + ']' : '...' + param.name
    } else {
      return param.optional ? '[' + param.name + ']' : param.name
    }
  }).join(', ')
}
282355
@ObjectiveCName("pipeTo:")
    public Promise<T> pipeTo(PromiseResolver<T> resolver) {
        then(t -> resolver.result(t));
        failure(e -> resolver.error(e));
        return this;
    }