Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 67 for karen (0.12 sec)

  1. android/guava-tests/test/com/google/common/io/IoTestCase.java

            // probably URISyntaxException or IllegalArgumentException
            // fall back to copying URLs to files in the testDir == null block below
          }
        }
    
        if (testDir == null) {
          // testdata resources aren't file:// urls, so create a directory to store them in and then
          // copy the resources to the filesystem as needed
          testDir = createTempDir();
        }
    
        return testDir;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       *
       * @param collection the collection whose complement should be stored in the enum set
       * @return a new, modifiable {@code EnumSet} containing all values of the enum that aren't present
       *     in the given collection
       * @throws IllegalArgumentException if {@code collection} is not an {@code EnumSet} instance and
       *     contains no elements
       */
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        bytesA[4] = (byte) 0xbe;
        bytesB[4] = (byte) 0xef;
    
        HashCode hashCodeA = HashCode.fromBytes(bytesA);
        HashCode hashCodeB = HashCode.fromBytes(bytesB);
    
        // They aren't equal...
        assertFalse(hashCodeA.equals(hashCodeB));
    
        // But they still have the same Object#hashCode() value.
        // Technically not a violation of the equals/hashCode contract, but...?
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            .containsExactly(0, 1, 3, 6, 10, 15, 21)
            .inOrder();
      }
    
      public void testCopyOf_array_empty() {
        /*
         * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's
         * useful in testing - when two things are the same then one can't have bugs the other doesn't.
         */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Functions.java

       * map.getOrDefault(k, defaultValue)} instead.
       *
       * @param map source map that determines the function behavior
       * @param defaultValue the value to return for inputs that aren't map keys
       * @return function that returns {@code map.get(a)} when {@code a} is a key, or {@code
       *     defaultValue} otherwise
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          }
        }
        return args;
      }
    
      private <T> @Nullable T getDefaultValue(TypeToken<T> type) {
        // We assume that all defaults are generics-safe, even if they aren't,
        // we take the risk.
        @SuppressWarnings("unchecked")
        T defaultValue = (T) defaults.getInstance(type.getRawType());
        if (defaultValue != null) {
          return defaultValue;
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeToken.java

       * relationship is arbitrary and not guaranteed.
       *
       * <p>If this type is a type variable or wildcard, upper bounds that are themselves type variables
       * aren't included (their super interfaces and superclasses are).
       */
      public final TypeSet getTypes() {
        return new TypeSet();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

       * <p>Failure to follow this advice may result in non-deterministic behavior.
       *
       * <p>Note that the generated multimap's {@link Multimap#removeAll} and {@link
       * Multimap#replaceValues} methods return collections that aren't synchronized.
       *
       * <p>The returned multimap will be serializable if the specified multimap is serializable.
       *
       * @param multimap the multimap to be wrapped in a synchronized view
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

                i3, // Integer subscribers are dispatched to first.
                s1,
                s2, // Though each integer subscriber dispatches to all string subscribers,
                s1,
                s2, // those string subscribers aren't actually dispatched to until all integer
                s1,
                s2 // subscribers have finished.
                )
            .inOrder();
      }
    
      public void testLegacyAsyncDispatcher() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 27 15:41:25 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

      }
    
      // Null support depends on the underlying table and function.
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      @Override
      public void testNullPointerInstance() {}
    
      // put() and putAll() aren't supported.
      @Override
      public void testPut() {
        try {
          table.put("foo", 1, 'a');
          fail("Expected UnsupportedOperationException");
        } catch (UnsupportedOperationException expected) {
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top