Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for processFile (0.2 sec)

  1. istioctl/pkg/validate/validate.go

    		warningsByFilename[path] = warning
    	}
    	processDirectory := func(directory string, processFile func(string)) error {
    		err := filepath.Walk(directory, func(path string, info os.FileInfo, err error) error {
    			if err != nil {
    				return err
    			}
    
    			if info.IsDir() {
    				return nil
    			}
    
    			if isFileFormatValid(path) {
    				processFile(path)
    			}
    
    			return nil
    		})
    		return err
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

              int seen;
    
              @Override
              public boolean processLine(String line) {
                seen++;
                return false;
              }
    
              @Override
              public Integer getResult() {
                return seen;
              }
            };
        assertEquals(
            "processLine was called more than once",
            1,
            CharStreams.readLines(r, alwaysFalse).intValue());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharStreamsTest.java

              int seen;
    
              @Override
              public boolean processLine(String line) {
                seen++;
                return false;
              }
    
              @Override
              public Integer getResult() {
                return seen;
              }
            };
        assertEquals(
            "processLine was called more than once",
            1,
            CharStreams.readLines(r, alwaysFalse).intValue());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        List<String> list =
            lines.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: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. 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)
Back to top