Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5111 - 5120 of 5,146 for Name (0.02 seconds)

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

        assertThat(multimap.entries().spliterator().characteristics() & Spliterator.DISTINCT)
            .isEqualTo(0);
      }
    
      // Yes, we want to test that inverse() returns the same instance each time that it's called.
      @SuppressWarnings("SelfAssertion")
      public void testInverseMinimizesWork() {
        ImmutableListMultimap<String, Character> multimap =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                buffer.putInt(4);
                buffer.putInt(1024);
    
                // When
                fileFsFullSizeInfo.decode(buffer.array(), 0, 32);
    
                // Then - multiple calls should return same values
                assertEquals(2000L * 4 * 1024, fileFsFullSizeInfo.getCapacity());
                assertEquals(2000L * 4 * 1024, fileFsFullSizeInfo.getCapacity());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            fireEvent(ResolutionListener.TEST_ARTIFACT, listeners, node);
    
            Object key = node.getKey();
    
            // TODO Does this check need to happen here? Had to add the same call
            // below when we iterate on child nodes -- will that suffice?
            if (managedVersions.containsKey(key)) {
                manageArtifact(node, managedVersions, listeners);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        // A few elements.
        a = asList(4, 8, 15, 16, 23, 42);
        b = asList(4, 8, 15, 16, 23, 42);
        assertTrue(elementsEqual(a.iterator(), b.iterator()));
    
        // The same, but with nulls.
        a = Arrays.<@Nullable Integer>asList(4, 8, null, 16, 23, 42);
        b = Arrays.<@Nullable Integer>asList(4, 8, null, 16, 23, 42);
        assertTrue(elementsEqual(a.iterator(), b.iterator()));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            final AccessResult<String> accessResult = new TestAccessResult();
    
            final Map<String, Object> result = indexUpdater.ingest(accessResult, doc);
    
            assertNotNull(result);
            // Result should be the same as input doc when ingester is null or doesn't modify
            assertSame(doc, result);
        }
    
        // Test ingest with exception in ingester
        @Test
        public void test_ingest_withException() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          if (emptyInstanceGenerated.containsKey(type.getType())) {
            // empty instance already generated
            if (emptyInstanceGenerated.get(type.getType()) == freshness.get()) {
              // same freshness, generate again.
              return invokeGeneratorMethod(emptyGenerate);
            } else {
              // Cannot use empty generator. Proceed with other generators.
            }
          } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  7. internal/s3select/sql/value.go

    func (v Value) Equals(b Value) (ok bool) {
    	if !v.SameTypeAs(b) {
    		return false
    	}
    	return reflect.DeepEqual(v.value, b.value)
    }
    
    // SameTypeAs return whether the two types are strictly the same.
    func (v Value) SameTypeAs(b Value) (ok bool) {
    	switch v.value.(type) {
    	case bool:
    		_, ok = b.value.(bool)
    	case string:
    		_, ok = b.value.(string)
    	case int64:
    		_, ok = b.value.(int64)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/StandardTable.java

      Iterator<C> createColumnKeyIterator() {
        return new ColumnKeyIterator();
      }
    
      private final class ColumnKeyIterator extends AbstractIterator<C> {
        // Use the same map type to support TreeMaps with comparators that aren't
        // consistent with equals().
        final Map<C, V> seen = factory.get();
        final Iterator<Map<C, V>> mapIterator = backingMap.values().iterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       *
       * @param a the array into which the elements of the queue are to be stored, if it is big enough;
       *     otherwise, a new array of the same runtime type is allocated for this purpose
       * @return an array containing all of the elements in this queue
       * @throws ArrayStoreException if the runtime type of the specified array is not a supertype of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        assertEqualHashCode(Predicates.or(p1, p2), Predicates.or(p1, p2));
    
        // While not a contractual requirement, we'd like the hash codes for ands
        // & ors of the same predicates to not collide.
        assertTrue(Predicates.and(p1, p2).hashCode() != Predicates.or(p1, p2).hashCode());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 32.2K bytes
    - Click Count (0)
Back to Top