Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for processFile (0.12 sec)

  1. docs/debugging/inspect/main.go

    		fatalErr(err)
    	default:
    		flag.Usage()
    		fatalIf(true, "Only 1 file can be decrypted")
    		os.Exit(1)
    	}
    	for _, input := range inputs {
    		processFile(input, privateKey)
    	}
    }
    
    func processFile(inputFileName string, privateKey []byte) {
    	// Calculate the output file name
    	var outputFileName string
    	switch {
    	case strings.HasSuffix(inputFileName, ".enc"):
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSourceTester.java

        List<String> list =
            source.readLines(
                new LineProcessor<List<String>>() {
                  List<String> list = Lists.newArrayList();
    
                  @Override
                  public boolean processLine(String line) throws IOException {
                    list.add(line);
                    return true;
                  }
    
                  @Override
                  public List<String> getResult() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/LineProcessor.java

    import java.io.IOException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A callback to be used with the streaming {@code readLines} methods.
     *
     * <p>{@link #processLine} will be called for each line that is read, and should return {@code
     * false} when you want to stop processing.
     *
     * @author Miles Barr
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. scripts/label_approved.py

        for approved_label, conf in config.items():
            logging.debug(f"Processing config: {conf.json()}")
            if conf.await_label is None or (conf.await_label in pr_label_by_name):
                logging.debug(f"Processable PR: {pr.number}")
                if len(approved_reviews) >= conf.number:
                    logging.info(f"Adding label to PR: {pr.number}")
                    pr.add_to_labels(approved_label)
                    if conf.await_label:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 13:58:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharSourceTester.java

        List<String> list =
            source.readLines(
                new LineProcessor<List<String>>() {
                  List<String> list = Lists.newArrayList();
    
                  @Override
                  public boolean processLine(String line) throws IOException {
                    list.add(line);
                    return true;
                  }
    
                  @Override
                  public List<String> getResult() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        LineProcessor<List<String>> collectAndLowercaseAndTrim =
            new LineProcessor<List<String>>() {
              List<String> collector = new ArrayList<>();
    
              @Override
              public boolean processLine(String line) {
                collector.add(whitespace().trimFrom(line));
                return true;
              }
    
              @Override
              public List<String> getResult() {
                return collector;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Resources.java

        return readLines(
            url,
            charset,
            new LineProcessor<List<String>>() {
              final List<String> result = Lists.newArrayList();
    
              @Override
              public boolean processLine(String line) {
                result.add(line);
                return true;
              }
    
              @Override
              public List<String> getResult() {
                return result;
              }
            });
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ResourcesTest.java

        LineProcessor<List<String>> collectAndLowercaseAndTrim =
            new LineProcessor<List<String>>() {
              List<String> collector = new ArrayList<>();
    
              @Override
              public boolean processLine(String line) {
                collector.add(whitespace().trimFrom(line));
                return true;
              }
    
              @Override
              public List<String> getResult() {
                return collector;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top