Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 227 for leash (0.33 sec)

  1. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      /**
       * Requires at least 3 elements in {@code strictlyOrderedElements} in order to test the varargs
       * version of min/max.
       */
      private static <T> void testExhaustively(
          Ordering<? super T> ordering, T... strictlyOrderedElements) {
        checkArgument(
            strictlyOrderedElements.length >= 3,
            "strictlyOrderedElements " + "requires at least 3 elements");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      /**
       * Requires at least 3 elements in {@code strictlyOrderedElements} in order to test the varargs
       * version of min/max.
       */
      private static <T> void testExhaustively(
          Ordering<? super T> ordering, T... strictlyOrderedElements) {
        checkArgument(
            strictlyOrderedElements.length >= 3,
            "strictlyOrderedElements " + "requires at least 3 elements");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
        assertEquals(Country.CANADA, bimap.get(Currency.DOLLAR));
        assertEquals(Currency.DOLLAR, bimap.inverse().get(Country.CANADA));
    
        /* Map must have at least one entry if not an EnumBiMap. */
        try {
          EnumBiMap.create(Collections.<Currency, Country>emptyMap());
          fail("IllegalArgumentException expected");
        } catch (IllegalArgumentException expected) {
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
        assertEquals(Country.CANADA, bimap.get(Currency.DOLLAR));
        assertEquals(Currency.DOLLAR, bimap.inverse().get(Country.CANADA));
    
        /* Map must have at least one entry if not an EnumBiMap. */
        try {
          EnumBiMap.create(Collections.<Currency, Country>emptyMap());
          fail("IllegalArgumentException expected");
        } catch (IllegalArgumentException expected) {
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/InetAddressesTest.java

                "::7:6:5:4:3:2:1:0", // too many parts
                "7:6:5:4:3:2:1:0::", // too many parts
                "9:8:7:6:5:4:3::2:1", // too many parts
                "0:1:2:3::4:5:6:7", // :: must remove at least one 0.
                "3ffe:0:0:0:0:0:0:0:1", // too many parts (9 instead of 8)
                "3ffe::10000", // hextet exceeds 16 bits
                "3ffe::goog",
                "3ffe::-0",
                "3ffe::+0",
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Authenticator.java

         * potential NTLM fallback (if the server does not support kerberos).
         * 
         * @param subject
         *            represents the user who perform Kerberos authentication. Should at least contain a TGT for the user.
         * @param domain
         *            domain for NTLM fallback
         * @param username
         *            user for NTLM fallback
         * @param password
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      private static <X extends Throwable> void throwFirst(List<X> exceptions) throws X {
        if (!exceptions.isEmpty()) {
          throw exceptions.get(0);
        }
      }
    
      /** Factories with the least number of parameters are listed first. */
      private static <T> ImmutableList<Invokable<?, ? extends T>> getFactories(TypeToken<T> type) {
        List<Invokable<?, ? extends T>> factories = Lists.newArrayList();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/PairedStats.java

      }
    
      /**
       * Returns a linear transformation giving the best fit to the data according to <a
       * href="http://mathworld.wolfram.com/LeastSquaresFitting.html">Ordinary Least Squares linear
       * regression</a> of {@code y} as a function of {@code x}. The count must be greater than one, and
       * either the {@code x} or {@code y} data must have a non-zero population variance (i.e. {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedInts.java

        if (value <= 0) {
          return 0;
        } else if (value >= (1L << 32)) {
          return -1;
        } else {
          return (int) value;
        }
      }
    
      /**
       * Returns the least value present in {@code array}, treating values as unsigned.
       *
       * @param array a <i>nonempty</i> array of unsigned {@code int} values
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            }
            return expr;
        }
    
        @Override
        public File alignToBaseDirectory(File file) {
            // TODO Copied from the DefaultInterpolator. We likely want to resurrect the PathTranslator or at least a
            // similar component for re-usage
            if (file != null) {
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
Back to top