Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 729 for Entries (0.18 sec)

  1. 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
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  2. cmd/metacache-entries_test.go

    	entries.forwardTo("src/compress/zlib/reader_test.go")
    	got := entries.entries().names()
    	if !reflect.DeepEqual(got, want) {
    		t.Errorf("got unexpected result: %#v", got)
    	}
    
    	// Try with prefix
    	entries = org
    	entries.forwardTo("src/compress/zlib/reader_t")
    	got = entries.entries().names()
    	if !reflect.DeepEqual(got, want) {
    		t.Errorf("got unexpected result: %#v", got)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/samr.java

                int _entriesp = _src.dec_ndr_long();
    
                if ( _entriesp != 0 ) {
                    _src = _src.deferred;
                    int _entriess = _src.dec_ndr_long();
                    int _entriesi = _src.index;
                    _src.advance(12 * _entriess);
    
                    if ( this.entries == null ) {
                        if ( _entriess < 0 || _entriess > 0xFFFF )
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 15.1K bytes
    - Viewed (0)
  4. 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);
                }
                Arrays.sort(
                    (Entry<K, V>[]) entries, // Entries up to size are not null
                    0,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 22.6K bytes
    - Viewed (0)
  5. cmd/metacache-set.go

    			pr.CloseWithError(err)
    			tmp.Close()
    			entries.o = append(entries.o, e.o...)
    			if o.Limit > 0 && entries.len() > o.Limit {
    				entries.truncate(o.Limit)
    				return entries, nil
    			}
    			if err == nil {
    				// We stopped within the listing, we are done for now...
    				return entries, nil
    			}
    			if err != nil && !errors.Is(err, io.EOF) {
    				switch toObjectErr(err, minioMetaBucket, o.objectPath(partN)).(type) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

                    _src = _src.deferred;
                    int _entriess = _src.dec_ndr_long();
                    int _entriesi = _src.index;
                    _src.advance(12 * _entriess);
    
                    if (entries == null) {
                        if (_entriess < 0 || _entriess > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
                        entries = new SamrSamEntry[_entriess];
                    }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 14K bytes
    - Viewed (0)
  7. 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;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        List<Entry<K, V>> entries =
            Helpers.copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
        Collections.sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator()));
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                      protected Map<String, String> create(Entry<String, String>[] entries) {
                        Map<String, String> map = Maps.newHashMap();
                        putEntries(map, entries);
                        map.putAll(ENTRIES_TO_FILTER);
                        map = Maps.filterEntries(map, FILTER_ENTRIES_1);
                        return Maps.filterEntries(map, FILTER_ENTRIES_2);
                      }
                    })
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        int estimatedSize =
            (entries instanceof Collection)
                ? ((Collection<?>) entries).size()
                : ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY;
        return new Builder<K, V>(estimatedSize).putAll(entries).build();
      }
    
      ImmutableBiMap() {}
    
      /**
       * {@inheritDoc}
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 08 18:58:42 GMT 2023
    - 22K bytes
    - Viewed (0)
Back to top