Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 485 for _entriess (0.15 sec)

  1. cmd/xl-storage-format-v2.go

    	x.data = data
    	x.metaV = metaV
    	if err = x.data.validate(); err != nil {
    		x.data.repair()
    		storageLogIf(GlobalContext, fmt.Errorf("xlMetaV2.loadIndexed: data validation failed: %v. %d entries after repair", err, x.data.entries()))
    	}
    	return decodeVersions(buf, versions, func(i int, hdr, meta []byte) error {
    		ver := &x.versions[i]
    		_, err = ver.header.unmarshalV(headerV, hdr)
    		if err != nil {
    			return err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

              Multisets.immutableEntry(samples.e4(), 2));
        }
    
        @Override
        public Set<Multiset.Entry<E>> create(Object... entries) {
          List<Object> contents = new ArrayList<>();
          Set<E> elements = new HashSet<>();
          for (Object o : entries) {
            @SuppressWarnings("unchecked")
            Multiset.Entry<E> entry = (Entry<E>) o;
            checkArgument(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      public void testPutAll_nullCollectionReference() {
        assertThrows(NullPointerException.class, () -> getMap().putAll(null));
      }
    
      private void putAll(Iterable<Entry<K, V>> entries) {
        Map<K, V> map = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        getMap().putAll(map);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. cmd/metacache-stream.go

    			if err == io.EOF {
    				err = io.ErrUnexpectedEOF
    			}
    			r.err = err
    			return res, err
    		}
    		res = append(res, name)
    	}
    	return res, nil
    }
    
    // skip n entries on the input stream.
    // If there are less entries left io.EOF is returned.
    func (r *metacacheReader) skip(n int) error {
    	r.checkInit()
    	if r.err != nil {
    		return r.err
    	}
    	if n <= 0 {
    		return nil
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

        }
      }
    
      private fun RepositoryPlugin.deployClassPath() {
        val classpath = System.getProperty("java.class.path")
        val entries =
          classpath.split(File.pathSeparator.toRegex())
            .dropLastWhile { it.isEmpty() }
            .toTypedArray()
        for (classPathEntry in entries) {
          deployFile(classPathEntry.toPath())
        }
      }
    
      private fun RepositoryPlugin.deployFile(file: Path) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

                      protected SetMultimap<String, String> create(Entry<String, String>[] entries) {
                        SetMultimap<String, String> multimap =
                            TreeMultimap.create(
                                Ordering.natural().nullsFirst(), Ordering.natural().nullsFirst());
                        for (Entry<String, String> entry : entries) {
                          multimap.put(entry.getKey(), entry.getValue());
                        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. cmd/erasure-healing.go

    			if err := healEntry(bucket, entry, scanMode); err != nil {
    				cancel()
    			}
    		},
    		partial: func(entries metaCacheEntries, _ []error) {
    			entry, ok := entries.resolve(&resolver)
    			if !ok {
    				// check if we can get one entry at least
    				// proceed to heal nonetheless.
    				entry, _ = entries.firstFound()
    			}
    
    			if err := healEntry(bucket, *entry, scanMode); err != nil {
    				cancel()
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

      public void testEntrySet_nullToArray() {
        for (LoadingCache<Object, Object> cache : caches()) {
          Set<Entry<Object, Object>> entries = cache.asMap().entrySet();
          assertThrows(
              NullPointerException.class, () -> entries.toArray((Entry<Object, Object>[]) null));
          checkEmpty(cache);
        }
      }
    
      public void testEntrySet_addNotSupported() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

      public void testEntrySet_nullToArray() {
        for (LoadingCache<Object, Object> cache : caches()) {
          Set<Entry<Object, Object>> entries = cache.asMap().entrySet();
          assertThrows(
              NullPointerException.class, () -> entries.toArray((Entry<Object, Object>[]) null));
          checkEmpty(cache);
        }
      }
    
      public void testEntrySet_addNotSupported() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    		return err
    	}
    	parentCtx := ctx
    	ctx, cancelCause := context.WithCancelCause(ctx)
    	var entries []chan metaCacheEntry
    
    	for poolIdx, erasureSet := range z.serverPools {
    		for setIdx, set := range erasureSet.sets {
    			set := set
    			listOut := make(chan metaCacheEntry, 1)
    			entries = append(entries, listOut)
    			disks, infos, _ := set.getOnlineDisksWithHealingAndInfo(true)
    			if len(disks) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top