Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1781 - 1790 of 2,224 for SIZE (0.01 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

      public void testRemovePresent() {
        assertTrue(multimap().remove(k0(), v0()));
    
        assertFalse(multimap().containsEntry(k0(), v0()));
        expectMissing(e0());
        assertEquals(getNumElements() - 1, multimap().size());
        assertGet(k0(), ImmutableList.of());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      public void testRemoveNullKeyPresent() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

      public void testRemovePresent() {
        assertTrue(multimap().remove(k0(), v0()));
    
        assertFalse(multimap().containsEntry(k0(), v0()));
        expectMissing(e0());
        assertEquals(getNumElements() - 1, multimap().size());
        assertGet(k0(), ImmutableList.of());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      public void testRemoveNullKeyPresent() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        // GWT's ConcurrentHashMap is a wrapper around HashMap, but it rejects null keys, which matches
        // the behaviour of the non-GWT implementation of newConcurrentHashSet().
        // On the other hand HashSet might be better for code size if apps aren't
        // already using Collections.newSetFromMap and ConcurrentHashMap.
        return Collections.newSetFromMap(new ConcurrentHashMap<E, Boolean>());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                    }
                }
    
                // Check if we've reached max leases
                int maxLeases = context.getConfig().getMaxLeases();
                if (maxLeases > 0 && leases.size() >= maxLeases) {
                    // Clean up oldest leases
                    evictOldestLeases(1);
                }
    
                // Create new lease
                Smb2LeaseKey newKey = new Smb2LeaseKey();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

          LinkedHashMultimap<String, Integer>.ValueSet valueSet =
              (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
          assertEquals(z, valueSet.size());
          assertFalse(
              Hashing.needsResizing(
                  valueSet.size(),
                  valueSet.hashTable.length,
                  LinkedHashMultimap.VALUE_SET_LOAD_FACTOR));
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  6. docs/smb3-features/06-witness-protocol-design.md

                
                if (pendingNotifications.size() >= batchSize) {
                    processBatch();
                }
            }
        }
        
        private void processBatch() {
            List<WitnessNotification> batch = new ArrayList<>();
            
            synchronized (pendingNotifications) {
                while (!pendingNotifications.isEmpty() && batch.size() < batchSize) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            byte[] buffer = new byte[256];
            int written = trans2FindFirst2.writeParametersWireFormat(buffer, 0);
    
            assertTrue(written > 12); // Minimum size for fixed parameters
    
            // Verify search attributes (masked with 0x37)
            assertEquals(0x37, SMBUtil.readInt2(buffer, 0));
    
            // Verify max items
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        }
      }
    
      private static void checkResults(List<Future<String>> futures)
          throws InterruptedException, ExecutionException {
        for (int i = 0; i < futures.size(); i++) {
          assertEquals(RESULT_VALUE + i, futures.get(i).get());
        }
      }
    
      private static List<Callable<String>> createTasks(int n) {
        List<Callable<String>> callables = new ArrayList<>();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingSortedMultiset.java

       * {@link SortedMultiset#firstEntry} {@link SortedMultiset#headMultiset}, {@link
       * SortedMultiset#isEmpty}, {@link SortedMultiset#lastEntry}, {@link SortedMultiset#subMultiset},
       * {@link SortedMultiset#tailMultiset}, the {@code size()} and {@code iterator()} methods of
       * {@link SortedMultiset#entrySet}, and {@link SortedMultiset#remove(Object, int)}. In many
       * situations, you may wish to override {@link SortedMultiset#elementSet} to forward to this
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. schema/schema_helper_test.go

    		} else {
    			tests.AssertObjEqual(t, parsedField, f, "Name", "DBName", "BindNames", "DataType", "PrimaryKey", "AutoIncrement", "Creatable", "Updatable", "Readable", "HasDefaultValue", "DefaultValue", "NotNull", "Unique", "Comment", "Size", "Precision", "TagSettings")
    
    			if f.DBName != "" {
    				if field, ok := s.FieldsByDBName[f.DBName]; !ok || parsedField != field {
    					t.Errorf("schema %v failed to look up field with dbname %v", s, f.DBName)
    				}
    			}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Aug 28 02:57:17 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top