Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 142 for Peal (0.22 sec)

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

        assertThat(newArray).isEqualTo(new byte[] {(byte) 0, (byte) 1, (byte) 2});
        newArray[1] = (byte) 5;
        assertThat((byte) list.get(1)).isEqualTo((byte) 1);
      }
    
      // This test stems from a real bug found by andrewk
      public void testAsList_subList_toArray_roundTrip() {
        byte[] array = {(byte) 0, (byte) 1, (byte) 2, (byte) 3};
        List<Byte> list = Bytes.asList(array);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/Helpers.java

       *     the size method
       */
      public static <T extends @Nullable Object> Collection<T> misleadingSizeCollection(int delta) {
        // It would be nice to be able to return a real concurrent
        // collection like ConcurrentLinkedQueue, so that e.g. concurrent
        // iteration would work, but that would not be GWT-compatible.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

        suite.addTestSuite(ImmutableClassToInstanceMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestClassToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

         *
         * @param workstation The workstation.
         */
        public void setWorkstation(String workstation) {
            this.workstation = workstation;
        }
    
        /**
         * The real session key if the regular session key is actually
         * the encrypted version used for key exchange.
         *
         * @return A <code>byte[]</code> containing the session key.
         */
        public byte[] getMasterKey() {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        // Check all of the removal notifications we received: they should have had correctly-associated
        // keys and values. (An earlier bug saw removal notifications for in-progress computations,
        // which had real keys with null values.)
        Map<String, String> removalNotifications = Maps.newHashMap();
        for (RemovalNotification<String, String> notification : listener) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * <p>NOTE: an IPv6 address coerced to an IPv4 address can only be used for such purposes as
       * rudimentary identification or indexing into a collection of real {@link InetAddress}es. They
       * cannot be used as real addresses for the purposes of network communication.
       *
       * @param ip {@link InetAddress} to convert
       * @return {@code int}, "coerced" if ip is not an IPv4 address
       * @since 7.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  7. maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
            }
        }
    
        private static boolean isLocal(String host) {
            return "localhost".equals(host) || "127.0.0.1".equals(host);
        }
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashSet.java

     * than {@code size()}. Furthermore, this structure only depends on a fixed number of arrays; {@code
     * add(x)} operations <i>do not</i> create objects for the garbage collector to deal with, and for
     * every element added, the garbage collector will have to traverse {@code 1.5} references on
     * average, in the marking phase, not {@code 5.0} as in {@code java.util.HashSet}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/LinearTransformation.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import javax.annotation.CheckForNull;
    
    /**
     * The representation of a linear transformation between real numbers {@code x} and {@code y}.
     * Graphically, this is the specification of a straight line on a plane. The transformation can be
     * expressed as {@code y = m * x + c} for finite {@code m} and {@code c}, unless it is a vertical
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/GeneralRange.java

        // Trigger any exception that the comparator would throw for the endpoints.
        /*
         * uncheckedCastNullableTToT is safe as long as the callers are careful to pass a "real" T
         * whenever they pass `true` for the matching `has*Bound` parameter.
         */
        if (hasLowerBound) {
          int unused =
              comparator.compare(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top