- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for processFile (0.18 sec)
-
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) -
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) -
guava-tests/test/com/google/common/io/CharSourceTester.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 7.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
guava-tests/test/com/google/common/io/CharSourceTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
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)