Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for getLines (0.07 sec)

  1. misc/ios/detect.go

    	}
    }
    
    func detectMobileProvisionFiles(udids [][]byte) []string {
    	cmd := exec.Command("mdfind", "-name", ".mobileprovision")
    	lines := getLines(cmd)
    
    	var files []string
    	for _, line := range lines {
    		if len(line) == 0 {
    			continue
    		}
    		xmlLines := getLines(parseMobileProvision(string(line)))
    		matches := 0
    		for _, udid := range udids {
    			for _, xmlLine := range xmlLines {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSourceTester.java

      public CharSourceTester(
          CharSourceFactory factory, String string, String suiteName, String caseDesc, Method method) {
        super(factory, string, suiteName, caseDesc, method);
        this.expectedLines = getLines(expected);
      }
    
      @Override
      protected void setUp() throws Exception {
        this.source = factory.createSource(data);
      }
    
      public void testOpenStream() throws IOException {
    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. guava-tests/test/com/google/common/io/SourceSinkTester.java

        this.caseDesc = checkNotNull(caseDesc);
      }
    
      @Override
      public String getName() {
        return super.getName() + " [" + suiteName + " [" + caseDesc + "]]";
      }
    
      protected static ImmutableList<String> getLines(final String string) {
        try {
          return new CharSource() {
            @Override
            public Reader openStream() throws IOException {
              return new StringReader(string);
            }
          }.readLines();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

        this.caseDesc = checkNotNull(caseDesc);
      }
    
      @Override
      public String getName() {
        return super.getName() + " [" + suiteName + " [" + caseDesc + "]]";
      }
    
      protected static ImmutableList<String> getLines(final String string) {
        try {
          return new CharSource() {
            @Override
            public Reader openStream() throws IOException {
              return new StringReader(string);
            }
          }.readLines();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharSourceTester.java

      public CharSourceTester(
          CharSourceFactory factory, String string, String suiteName, String caseDesc, Method method) {
        super(factory, string, suiteName, caseDesc, method);
        this.expectedLines = getLines(expected);
      }
    
      @Override
      protected void setUp() throws Exception {
        this.source = factory.createSource(data);
      }
    
      public void testOpenStream() throws IOException {
    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. src/bufio/bufio_test.go

    func readLines(b *Reader) string {
    	s := ""
    	for {
    		s1, err := b.ReadString('\n')
    		if err == io.EOF {
    			break
    		}
    		if err != nil && err != iotest.ErrTimeout {
    			panic("GetLines: " + err.Error())
    		}
    		s += s1
    	}
    	return s
    }
    
    // Call Read to accumulate the text of a file
    func reads(buf *Reader, m int) string {
    	var b [1000]byte
    	nb := 0
    	for {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

            extension.getClasspath().from(runtimeClasspath);
            extension.getSourceRoots().from(sourcesPath.getIncoming().artifactView(v -> v.lenient(true)).getFiles());
            extension.getDocumentedSource().from(sourcesPath.getIncoming().artifactView(v -> v.lenient(true)).getFiles().getAsFileTree().matching(f -> {
                f.include(PublicApi.INSTANCE.getIncludes());
                // Filter out any non-public APIs
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 17 20:04:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

                    addClasspathFor(configuration.getRuleClass(), classpath);
                }
            }
            classpath.addAll(additionalJapicmpClasspath.getFiles());
            return classpath;
        }
    
        private JapiCmpWorkerConfiguration calculateWorkerConfiguration(List<JApiCmpWorkerAction.Archive> baseline, List<JApiCmpWorkerAction.Archive> current) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

                    createDefaultReadingConverter(), createDefaultNormalizer());
            SuggestItem item = items.get(0);
            assertEquals("検索エンジン", item.getText());
            assertEquals(SuggestItem.Kind.QUERY, item.getKinds()[0]);
            assertEquals(1, item.getQueryFreq());
        }
    
        public void test_parseQueryLog2Word() throws Exception {
            QueryLog queryLog = new QueryLog("content:検索エンジン AND content:柿", null);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                        final SuggestItem item = SuggestItem.parseSource(hit.getSourceAsMap());
                        item.setDocFreq(0);
                        item.setKinds(Stream.of(item.getKinds()).filter(kind -> kind != SuggestItem.Kind.DOCUMENT)
                                .toArray(count -> new SuggestItem.Kind[count]));
                        updateItems.add(item);
                    }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top