Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,172 for pcount (0.13 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java

                        if (leftover > 0) {
                            int count = Math.min(leftover, length);
                            leftover -= count;
                            readBytes(buffer, offset, count);
                            return count;
                        }
    
                        int count = readSmallInt();
                        if (count == 0) {
                            // End of stream has been reached
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/net/tcpconn_keepalive_solaris_test.go

    		case cfg.Interval == -1 && cfg.Count > 0:
    			cfg.Interval = defaultTcpKeepAliveAbortThreshold / time.Duration(cfg.Count)
    		case cfg.Count == -1 && cfg.Interval > 0:
    			cfg.Count = int(defaultTcpKeepAliveAbortThreshold / cfg.Interval)
    		case cfg.Interval > 0 && cfg.Count > 0:
    			// TCP_KEEPALIVE_ABORT_THRESHOLD will be recalculated only when both TCP_KEEPINTVL
    			// and TCP_KEEPCNT are set, otherwise it will remain the default value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

                try {
                    if (count < 10) {
                        System.out.println(path1);
                    }
                    assertThat(path1, is(notNullValue()));
                    assertThat(is, is(notNullValue()));
                    count++;
                } finally {
                    CloseableUtil.close(is);
                }
            });
            assertTrue(count > 0);
        }
    
        /**
         * @throws Exception
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

      public void testCount_1() {
        assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCount_3() {
        initThreeCopies();
        assertEquals("multiset.count(thriceContained) didn't return 3", 3, getMultiset().count(e0()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
      public void testCount_nullAbsent() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/ParsedModuleStringNotation.java

            count++;
            if (count < 2 || count > 4) {
                throw new IllegalDependencyNotation("Supplied String module notation '" + moduleNotation + "' is invalid. Example notations: 'org.gradle:gradle-core:2.2', 'org.mockito:mockito-core:1.9.5:javadoc'.");
            }
        }
    
        private void assignValue(int count, String fragment) {
            switch (count) {
                case 0:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fail_fast.txt

    ! go test ./failfast_test.go -run='TestFailingA' -failfast=true
    stdout -count=1 'FAIL - '
    ! go test ./failfast_test.go -run='TestFailing[AB]' -failfast=true
    stdout -count=1 'FAIL - '
    ! go test ./failfast_test.go -run='TestFailing[AB]' -failfast=false
    stdout -count=2 'FAIL - '
    
    # mix with non-failing tests
    ! go test ./failfast_test.go -run='TestA|TestFailing[AB]' -failfast=true
    stdout -count=1 'FAIL - '
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

      public void testCount_1() {
        assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCount_3() {
        initThreeCopies();
        assertEquals("multiset.count(thriceContained) didn't return 3", 3, getMultiset().count(e0()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
      public void testCount_nullAbsent() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/net/tcpconn_keepalive_illumos_test.go

    	switch {
    	case cfg.Interval == -1 && cfg.Count == -1:
    		cfg.Interval = oldCfg.Interval
    		cfg.Count = oldCfg.Count
    	case cfg.Interval == -1 && cfg.Count > 0:
    		cfg.Interval = defaultTcpKeepAliveAbortThreshold / time.Duration(cfg.Count)
    	case cfg.Count == -1 && cfg.Interval > 0:
    		cfg.Count = int(defaultTcpKeepAliveAbortThreshold / cfg.Interval)
    	case cfg.Interval > 0 && cfg.Count > 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. fess-crawler-es/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

                childDir.mkdirs();
                generateContents(childDir, count - 1);
            }
        }
    
        private static String getHtmlContent(final int count) {
            final StringBuilder buf = new StringBuilder();
            buf.append("<html><head><title>Title ");
            buf.append(count);
            buf.append("</title></head><body><h1>Content ");
            buf.append(count);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JavaProjectUnderTest.groovy

                }
            """
            this
        }
    
        JavaProjectUnderTest writeSourceFiles(int count = 1) {
            writeProductionSourceFile(count)
            writeTestSourceFile('src/test/java', count)
            this
        }
    
        JavaProjectUnderTest writeIntegrationTestSourceFiles(int count = 1) {
            String testSrcDir = 'src/integTest/java'
            buildFile << """
                sourceSets {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top