Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 62 for 202020 (0.03 seconds)

  1. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            .inOrder();
      }
    
      public void testAsListIterator() {
        PrimitiveIterator.OfDouble doubleIterator =
            (PrimitiveIterator.OfDouble) ImmutableDoubleArray.of(1.0, 2.0, 3.0).asList().iterator();
        assertThat(doubleIterator.nextDouble()).isEqualTo(1.0);
        assertThat(doubleIterator.nextDouble()).isEqualTo(2.0);
        assertThat(doubleIterator.nextDouble()).isEqualTo(3.0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/MathTesting.java

                102,
                Math.scalb(1.0, 53),
                Integer.MIN_VALUE,
                Integer.MAX_VALUE,
                Long.MIN_VALUE,
                Long.MAX_VALUE)) {
          for (double delta : Doubles.asList(0.0, 1.0, 2.0)) {
            integralBuilder.addAll(Doubles.asList(d + delta, d - delta, -d - delta, -d + delta));
          }
          for (double delta : Doubles.asList(0.01, 0.1, 0.25, 0.499, 0.5, 0.501, 0.7, 0.8)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SecurityBlobTest.java

        @Test
        @DisplayName("clone: returns deep copy and independent state")
        void clone_returnsDeepCopy() {
            // Arrange
            byte[] data = new byte[] { 10, 20, 30 };
            SecurityBlob original = new SecurityBlob(data);
    
            // Act
            SecurityBlob copy = assertDoesNotThrow(() -> (SecurityBlob) original.clone(), "clone() should not throw");
    
            // Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SSPContextTest.java

                assertArrayEquals(new ASN1ObjectIdentifier[] { mech1, mech2 }, ctx.getSupportedMechs(), "supported mechs");
    
                // MIC roundtrip: calculate then verify
                byte[] data = new byte[] { 10, 20, 30 };
                byte[] mic = ctx.calculateMIC(data);
                assertNotNull(mic);
                ctx.verifyMIC(data, mic); // should not throw
            }
        }
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                assertEquals(50, response.getRemaining());
    
                // Large buffer
                byte[] largeBuffer = new byte[8192];
                System.arraycopy(createValidWriteResponse(5000, 2500), 0, largeBuffer, 1000, 20);
    
                Smb2WriteResponse response2 = new Smb2WriteResponse(mockConfig);
                bytesRead = response2.readBytesWireFormat(largeBuffer, 1000);
                assertEquals(16, bytesRead);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            .addEqualityGroup(BloomFilter.create(byteArrayFunnel(), 200, 0.02))
            .addEqualityGroup(BloomFilter.create(unencodedCharsFunnel(), 100, 0.01))
            .addEqualityGroup(BloomFilter.create(unencodedCharsFunnel(), 100, 0.02))
            .addEqualityGroup(BloomFilter.create(unencodedCharsFunnel(), 200, 0.01))
            .addEqualityGroup(BloomFilter.create(unencodedCharsFunnel(), 200, 0.02))
            .testEquals();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.join(",", ARRAY1)).isEqualTo("1.0");
        assertThat(Floats.join(",", 1.0f, 2.0f)).isEqualTo("1.0,2.0");
        assertThat(Floats.join("", 1.0f, 2.0f, 3.0f)).isEqualTo("1.02.03.0");
      }
    
      public void testLexicographicalComparator() {
        List<float[]> ordered =
            Arrays.asList(
                new float[] {},
                new float[] {LEAST},
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.join(",", ARRAY1)).isEqualTo("1.0");
        assertThat(Floats.join(",", 1.0f, 2.0f)).isEqualTo("1.0,2.0");
        assertThat(Floats.join("", 1.0f, 2.0f, 3.0f)).isEqualTo("1.02.03.0");
      }
    
      public void testLexicographicalComparator() {
        List<float[]> ordered =
            Arrays.asList(
                new float[] {},
                new float[] {LEAST},
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/primitives/BytesTest.java

        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f);
        List<Long> longs = Arrays.asList(0L, 1L, 2L);
        List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0);
    
        assertThat(Bytes.toArray(bytes)).isEqualTo(array);
        assertThat(Bytes.toArray(shorts)).isEqualTo(array);
        assertThat(Bytes.toArray(ints)).isEqualTo(array);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/Strings.java

       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
       *
       * <ul>
       *   <li>{@code padStart("7", 3, '0')} returns {@code "007"}
       *   <li>{@code padStart("2010", 3, '0')} returns {@code "2010"}
       * </ul>
       *
       * <p>See {@link java.util.Formatter} for a richer set of formatting capabilities.
       *
       * @param string the string which should appear at the end of the result
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
Back to Top