Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 407 for entries2 (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            for (int i = 0; i < entries1.length; i++) {
                assertEquals(entries1[i].getName(), entries2[i].getName());
                assertEquals(entries2[i].getName(), entries3[i].getName());
                assertEquals(entries1[i].getType(), entries2[i].getType());
                assertEquals(entries2[i].getType(), entries3[i].getType());
            }
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableBiMap.java

               * will always copy any entry objects that cannot be safely reused.
               */
              if (valueComparator != null) {
                if (entriesUsed) {
                  entries = Arrays.copyOf(entries, size);
                }
                sort(
                    (Entry<K, V>[]) entries, // Entries up to size are not null
                    0,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

          if (entries instanceof Collection) {
            ensureCapacity(size + ((Collection<?>) entries).size());
          }
          for (Entry<? extends K, ? extends V> entry : entries) {
            put(entry);
          }
          return this;
        }
    
        /**
         * Configures this {@code Builder} to order entries by value according to the specified
         * comparator.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 41.2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableMap.java

        Builder(int initialCapacity) {
          this.entries = new @Nullable Entry[initialCapacity];
          this.size = 0;
          this.entriesUsed = false;
        }
    
        private void ensureCapacity(int minCapacity) {
          if (minCapacity > entries.length) {
            entries =
                Arrays.copyOf(
                    entries, ImmutableCollection.Builder.expandedCapacity(entries.length, minCapacity));
            entriesUsed = false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  5. cmd/metacache-entries.go

    	// Reusable slice for resolution
    	candidates [][]xlMetaV2ShallowVersion
    }
    
    // resolve multiple entries.
    // entries are resolved by majority, then if tied by mod-time and versions.
    // Names must match on all entries in m.
    func (m metaCacheEntries) resolve(r *metadataResolutionParams) (selected *metaCacheEntry, ok bool) {
    	if len(m) == 0 {
    		return nil, false
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                verify(mockNdrBuffer).enc_ndr_referent(array.entries, 1);
            }
    
            @Test
            @DisplayName("Should encode array with null entries")
            void testEncodeNullEntries() throws NdrException {
                // Given: SAM array with null entries
                samr.SamrSamArray array = new samr.SamrSamArray();
                array.count = 0;
                array.entries = null;
    
                // When: Encoding array
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                verify(mockNdrBuffer).enc_ndr_referent(array.entries, 1);
            }
    
            @Test
            @DisplayName("Should encode array with null entries")
            void testEncodeNullEntries() throws NdrException {
                // Given: SAM array with null entries
                samr.SamrSamArray array = new samr.SamrSamArray();
                array.count = 0;
                array.entries = null;
    
                // When: Encoding array
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.6K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        List<Entry<K, V>> entries =
            copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
        sort(entries, Helpers.entryComparator(navigableMap.comparator()));
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
            c = entries.get(2);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

      }
    
      private Entry<K, V>[] getEntriesMultipleNullKeys() {
        Entry<K, V>[] entries = createArrayWithNullKey();
        entries[0] = entry(null, entries[0].getValue());
        return entries;
      }
    
      private Entry<K, V>[] getEntriesMultipleNonNullKeys() {
        Entry<K, V>[] entries = createSamplesArray();
        entries[0] = entry(k1(), v0());
        return entries;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

        return populate(new HashMap<String, String>(), entries);
      }
    
      // TODO: call conversion constructors or factory methods instead of using
      // populate() on an empty map
      @CanIgnoreReturnValue
      private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) {
        for (Entry<T, String> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 21.8K bytes
    - Click Count (0)
Back to Top