Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 619 for Correct (0.05 seconds)

  1. guava-tests/test/com/google/common/math/QuantilesTest.java

              .of(expectedLargeDatasetPercentile(index));
        }
      }
    
      @AndroidIncompatible // slow
      public void testPercentiles_index_computeInPlace() {
        // Assert that the computation gives the correct result for all possible percentiles.
        for (int index = 0; index <= 100; index++) {
          double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET);
          assertWithMessage("quantile at index %s", index)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  2. src/bufio/scan.go

    	if atEOF && len(data) == 0 {
    		return 0, nil, nil
    	}
    
    	// Fast path 1: ASCII.
    	if data[0] < utf8.RuneSelf {
    		return 1, data[0:1], nil
    	}
    
    	// Fast path 2: Correct UTF-8 decode without error.
    	_, width := utf8.DecodeRune(data)
    	if width > 1 {
    		// It's a valid encoding. Width cannot be one for a correctly encoded
    		// non-ASCII rune.
    		return width, data[0:width], nil
    	}
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed May 21 18:05:26 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. misc/go_android_exec/main.go

    			return
    		}
    
    		// runtime.GOROOT is empty — perhaps go_android_exec was built with
    		// -trimpath and GOROOT is unset. Try 'go env GOROOT' as a fallback,
    		// assuming that the 'go' command in $PATH is the correct one.
    
    		cmd := exec.Command("go", "env", "GOROOT")
    		cmd.Stderr = os.Stderr
    		out, err := cmd.Output()
    		if err != nil {
    			gorootErr = fmt.Errorf("%v: %w", cmd, err)
    		}
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

       * ```
       *
       * But this chain is wrong because the attackerSwitch certificate is being used in a CA role even
       * though it is not a CA certificate. There are pinned certificates in the chain! The correct
       * chain is much shorter because it skips the non-CA certificate.
       *
       * ```
       *   attackerCa
       *     -> attackerIntermediate
       *         -> phonyVictim
       * ```
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 24.4K bytes
    - Click Count (2)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       */
      protected abstract I newTargetIterator();
    
      /**
       * Override this to verify anything after running a list of Stimuli.
       *
       * <p>For example, verify that calls to remove() actually removed the correct elements.
       *
       * @param elements the expected elements passed to the constructor, as mutated by {@code
       *     remove()}, {@code set()}, and {@code add()} calls
       */
      protected void verify(List<E> elements) {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/netbios/NameTest.java

            int offset = 50;
            int length = name.writeWireFormat(dst, offset);
    
            // Check first byte at offset
            assertEquals(0x20, dst[offset]);
    
            // Check type encoding at correct offset
            assertEquals('C', dst[offset + 31]);
            assertEquals('A', dst[offset + 32]);
    
            assertTrue(length > 33);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.17.md

    - New Azure instance types do now have correct max data disk count information. ([#94340](https://github.com/kubernetes/kubernetes/pull/94340), [@ialidzhikov](https://github.com/ialidzhikov)) [SIG Cloud Provider and Storage]
    
    ### Other (Cleanup or Flake)
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Jan 28 10:44:33 GMT 2021
    - 346.2K bytes
    - Click Count (1)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       */
      protected abstract I newTargetIterator();
    
      /**
       * Override this to verify anything after running a list of Stimuli.
       *
       * <p>For example, verify that calls to remove() actually removed the correct elements.
       *
       * @param elements the expected elements passed to the constructor, as mutated by {@code
       *     remove()}, {@code set()}, and {@code add()} calls
       */
      protected void verify(List<E> elements) {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                assertTrue("Result for 1 day should be greater than 0 days", result1 > result0);
    
                // Verify that the differences are approximately correct
                long diff1 = result1 - result0;
                long diff7 = result7 - result0;
                assertTrue("1 day should be approximately ONE_DAY_IN_MILLIS", Math.abs(diff1 - Constants.ONE_DAY_IN_MILLIS) < 10000);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/curl/CurlRequestTest.java

            assertNotNull(processor.getResponse());
        }
    
        @Test
        public void testMethodEnumToString() {
            // Test that Method enum toString returns correct values
            assertEquals("GET", Method.GET.toString());
            assertEquals("POST", Method.POST.toString());
            assertEquals("PUT", Method.PUT.toString());
            assertEquals("DELETE", Method.DELETE.toString());
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
Back to Top