Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1171 - 1180 of 2,614 for ksize (0.07 seconds)

  1. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          assertThat(cache.getUnchecked(key)).isSameInstanceAs(value);
          assertThat(cache.asMap().containsKey(key)).isTrue();
          assertThat(cache.asMap().containsValue(value)).isTrue();
          assertThat(cache.size()).isEqualTo(1);
        }
      }
    
      public void testClear() {
        for (LoadingCache<Key, String> cache : caches()) {
          Key key = new Key(1);
          String value = key.toString();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

      public void testRemovePropagatesToMultimap() {
        assertTrue(multimap().entries().remove(mapEntry(k0(), v0())));
        expectMissing(mapEntry(k0(), v0()));
        assertEquals(getNumElements() - 1, multimap().size());
        assertFalse(multimap().containsEntry(k0(), v0()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllPropagatesToMultimap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

            initialValue,
            getList().set(index, newValue));
        assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index));
        assertEquals("set() should not change the size of a list.", getNumElements(), getList().size());
      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testSet_indexTooLow() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().set(-1, e3()));
        expectUnchanged();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size() {
            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 32 + this.info.size());
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThat(stats.evictionCount()).isEqualTo(removalListener.size());
        assertThat(stats.loadSuccessCount()).isEqualTo(computeCount.get());
        assertThat(stats.loadExceptionCount()).isEqualTo(exceptionCount.get() + computeNullCount.get());
        // each computed value is still in the cache, or was passed to the removal listener
        assertThat(cache.size() + removalListener.size()).isEqualTo(computeCount.get());
      }
    
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThat(stats.evictionCount()).isEqualTo(removalListener.size());
        assertThat(stats.loadSuccessCount()).isEqualTo(computeCount.get());
        assertThat(stats.loadExceptionCount()).isEqualTo(exceptionCount.get() + computeNullCount.get());
        // each computed value is still in the cache, or was passed to the removal listener
        assertThat(cache.size() + removalListener.size()).isEqualTo(computeCount.get());
      }
    
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  7. schema/relationship.go

    		}
    		relation.Polymorphic.PolymorphicID.GORMDataType = primaryKeyField.GORMDataType
    		if relation.Polymorphic.PolymorphicID.Size == 0 {
    			relation.Polymorphic.PolymorphicID.Size = primaryKeyField.Size
    		}
    
    		relation.References = append(relation.References, &Reference{
    			PrimaryKey:    primaryKeyField,
    			ForeignKey:    relation.Polymorphic.PolymorphicID,
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Nov 16 04:11:05 GMT 2025
    - 23.1K bytes
    - Click Count (1)
  8. tests/sql_builder_test.go

    		ID   uint
    		Name string
    		Size string
    	}
    	dryRunDB := DB.Session(&gorm.Session{DryRun: true})
    
    	stmt := dryRunDB.Where(
    		DB.Where("pizza = ?", "pepperoni").Where(DB.Where("size = ?", "small").Or("size = ?", "medium")),
    	).Or(
    		DB.Where("pizza = ?", "hawaiian").Where("size = ?", "xlarge"),
    	).Find(&Pizza{}).Statement
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        @Override
        protected Set<String> create(String[] elements) {
          ImmutableSet.Builder<String> builder =
              ImmutableSet.builderWithExpectedSize(newHashSet(elements).size());
          for (String e : elements) {
            builder.add(e);
          }
          return builder.build();
        }
      }
    
      public static class ImmutableSetTooBigBuilderGenerator extends TestStringSetGenerator {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/entity/GeoInfo.java

                            }
                        }
                    }));
    
            final QueryBuilder[] queryBuilders = geoMap.values().stream().map(list -> {
                if (list.size() == 1) {
                    return list.get(0);
                }
                if (list.size() > 1) {
                    final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
                    list.forEach(boolQuery::should);
                    return boolQuery;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top