Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

                // we can't figure out the commit ID (probably this is a source distribution build), let's skip adding source links
                return;
            }
    
            extension.getSourceRoots().getFiles()
                .forEach(
                    file -> {
                        DokkaSourceLinkSpec sourceLinkSpec = project.getObjects().newInstance(DokkaSourceLinkSpec.class);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            secondLine.put("tags", item.getTags());
            secondLine.put("roles", item.getRoles());
            secondLine.put("kinds", Arrays.toString(item.getKinds()));
            secondLine.put("@timestamp", item.getTimestamp());
    
            try (OutputStream out1 = getXContentOutputStream(firstLineMap); OutputStream out2 = getXContentOutputStream(secondLine)) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top