Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 666 for entries3 (0.34 seconds)

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

            // When
            FileEntry[] entries = dfsRootEnum.getEntries();
    
            // Then
            assertNotNull(entries, "The returned entries array should not be null.");
            assertEquals(2, entries.length, "The number of entries should be correct.");
    
            // The getEntries method returns FileEntry objects. We can check their names.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

        private static class MapN<K, V> extends AbstractImmutableMap<K, V> {
            private final Object[] entries;
    
            private MapN(Map<K, V> map) {
                if (map != null) {
                    entries = new Object[map.size()];
                    int idx = 0;
                    for (Entry<K, V> e : map.entrySet()) {
                        entries[idx++] = new SimpleImmutableEntry<>(e.getKey(), e.getValue());
                    }
                } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jul 07 11:47:42 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. cmd/dynamic-timeouts.go

    func (dt *dynamicTimeout) logEntry(duration time.Duration) {
    	if duration < 0 {
    		return
    	}
    	entries := int(atomic.AddInt64(&dt.entries, 1))
    	index := entries - 1
    	if index < dynamicTimeoutLogSize {
    		dt.mutex.Lock()
    		dt.log[index] = duration
    
    		// We leak entries while we copy
    		if entries == dynamicTimeoutLogSize {
    			// Make copy on stack in order to call adjust()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        sort(entries, Helpers.entryComparator(navigableMap.comparator()));
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
            b = entries.get(1);
            c = entries.get(2);
          }
        }
      }
    
      /** Resets the contents of navigableMap to have entries a, c, for the navigation tests. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 9K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        sort(entries, Helpers.entryComparator(navigableMap.comparator()));
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
            b = entries.get(1);
            c = entries.get(2);
          }
        }
      }
    
      /** Resets the contents of navigableMap to have entries a, c, for the navigation tests. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          Set<Entry<Object, Object>> entries = cache.asMap().entrySet();
          List<Entry<Object, Object>> warmed = warmUp(cache, WARMUP_MIN, WARMUP_MAX);
    
          Set<?> expected = new HashMap<>(cache.asMap()).entrySet();
          assertThat(entries).containsExactlyElementsIn(expected);
          assertThat(entries.toArray()).asList().containsExactlyElementsIn(expected);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  7. cmd/os_other.go

    			if fi.IsDir() {
    				// Append SlashSeparator instead of "\" so that sorting is achieved as expected.
    				entries = append(entries, fi.Name()+SlashSeparator)
    			} else if fi.Mode().IsRegular() {
    				entries = append(entries, fi.Name())
    			}
    			if opts.count > 0 {
    				remaining--
    			}
    		}
    	}
    	return entries, nil
    }
    
    func globalSync() {
    	// no-op not sure about plan9/solaris support for syscall support
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

        final List<Entry<K, V>> entries;
        @Nullable Comparator<? super V> valueComparator;
    
        public Builder() {
          this.entries = Lists.newArrayList();
        }
    
        Builder(int initCapacity) {
          this.entries = Lists.newArrayListWithCapacity(initCapacity);
        }
    
        @CanIgnoreReturnValue
        public Builder<K, V> put(K key, V value) {
          entries.add(entryOf(key, value));
          return this;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  9. cmd/os-readdir_test.go

    		entries = append(entries, name2)
    	}
    	if err := os.MkdirAll(filepath.Join(dir, "mydir"), 0o777); err != nil {
    		t.Fatalf("Unable to create \"mydir\", %s", err)
    	}
    	entries = append(entries, "mydir/")
    
    	// Keep entries sorted for easier comparison.
    	sort.Strings(entries)
    
    	// Add entries slice for this test directory.
    	testResults = append(testResults, result{dir, entries})
    	return testResults
    }
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

      public void testEntries() {
        assertEqualIgnoringOrder(getSampleElements(), multimap().entries());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testContainsEntryWithNullKeyPresent() {
        initMultimapWithNullKey();
        assertContains(multimap().entries(), mapEntry((K) null, getValueForNullKey()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
    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)
Back to Top