Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 339 for 0x01 (0.02 seconds)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      }
    
      /** Tests that we always get a non-negative optimal size. */
      public void testOptimalSize() {
        for (int n = 1; n < 1000; n++) {
          for (double fpp = Double.MIN_VALUE; fpp < 1.0; fpp += 0.001) {
            assertThat(BloomFilter.optimalNumOfBits(n, fpp)).isAtLeast(0);
          }
        }
    
        // some random values
        Random random = new Random(0);
        for (int repeats = 0; repeats < 10000; repeats++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/DoubleMathTest.java

              Doubles.asList(
                  -Double.MIN_VALUE,
                  -Double.MIN_NORMAL,
                  -1,
                  -20,
                  Double.NaN,
                  Double.NEGATIVE_INFINITY,
                  -0.001));
    
      public void testFuzzyEqualsFinite() {
        for (double a : FINITE_DOUBLE_CANDIDATES) {
          for (double b : FINITE_DOUBLE_CANDIDATES) {
            for (double tolerance : FINITE_TOLERANCE_CANDIDATES) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    }
                }
            }
    
            @Override
            public int compareTo(Item item) {
                if (item == null) {
                    if (size() == 0) {
                        return 0; // 1-0 = 1- (normalize) = 1
                    }
                    // Compare the entire list of items with null - not just the first one, MNG-6964
                    for (Item i : this) {
                        int result = i.compareTo(null);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        assertThat(set).containsExactly("a", "b", "c", "d", "e").inOrder();
      }
    
      static final int LAST_COLOR_ADDED = 0x00BFFF;
    
      public void testComplexBuilder() {
        List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF);
        // javac won't compile this without "this.<Integer>"
        ImmutableSet.Builder<Integer> webSafeColorsBuilder = this.<Integer>builder();
        for (Integer red : colorElem) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

        assertThat(verifier.verify("192.168.1.1", session)).isTrue()
        assertThat(verifier.verify("::ffff:192.168.1.1", session)).isTrue()
        assertThat(verifier.verify("0:0:0:0:0:FFFF:C0A8:0101", session)).isTrue()
      }
    
      @Test fun generatedCertificate() {
        val heldCertificate =
          HeldCertificate
            .Builder()
            .commonName("Foo Corp")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      /**
       * Maximum allowed false positive probability of detecting a hash flooding attack given random
       * input.
       */
      @VisibleForTesting(
          )
      static final double HASH_FLOODING_FPP = 0.001;
    
      /**
       * Maximum allowed length of a hash table bucket before falling back to a j.u.LinkedHashSet based
       * implementation. Experimentally determined.
       */
      private static final int MAX_HASH_BUCKET_LENGTH = 9;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/CompactHashMap.java

      /**
       * Maximum allowed false positive probability of detecting a hash flooding attack given random
       * input.
       */
      @VisibleForTesting(
          )
      static final double HASH_FLOODING_FPP = 0.001;
    
      /**
       * Maximum allowed length of a hash table bucket before falling back to a j.u.LinkedHashMap-based
       * implementation. Experimentally determined.
       */
      private static final int MAX_HASH_BUCKET_LENGTH = 9;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/asm/testdata/s390x.s

    	LTDBR	F3, F4                 // b3120043
    	TCEB	F5, $8                 // ed5000080010
    	TCDB	F15, $4095             // edf00fff0011
    
    	UNDEF                          // 00000000
    	BRRK			       // 0001
    	NOPH                           // 0700
    
    	SYNC                           // 07e0
    
    	KM	R2, R4                 // b92e0024
    	KMC	R2, R6                 // b92f0026
    	KLMD	R2, R8                 // b93f0028
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Jul 30 19:29:15 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/ntlmssp/Type3Message.java

                    final byte[] clientChallenge = new byte[24];
                    tc.getConfig().getRandom().nextBytes(clientChallenge);
                    java.util.Arrays.fill(clientChallenge, 8, 24, (byte) 0x00);
    
                    final byte[] ntlm2Response = NtlmUtil.getNTLM2Response(passwordHash, type2.getChallenge(), clientChallenge);
    
                    setLMResponse(clientChallenge);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  10. src/archive/tar/writer_test.go

    		tw := NewWriter(new(bytes.Buffer))
    		hdr := &Header{Name: "dir/", Typeflag: TypeDir}
    		if err := tw.WriteHeader(hdr); err != nil {
    			t.Fatalf("WriteHeader() = %v, want nil", err)
    		}
    		if _, err := tw.Write([]byte{0x00}); err != ErrWriteTooLong {
    			t.Fatalf("Write() = %v, want %v", err, ErrWriteTooLong)
    		}
    	})
    
    	t.Run("NegativeSize", func(t *testing.T) {
    		tw := NewWriter(new(bytes.Buffer))
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
Back to Top