Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 700 for count1 (0.03 sec)

  1. tests/lru_test.go

    		t.Fatalf("value differs from expected")
    	}
    
    	if lc.Resize(0) != 0 {
    		t.Fatalf("evicted count differs from expected")
    	}
    	if lc.Resize(2) != 0 {
    		t.Fatalf("evicted count differs from expected")
    	}
    	lc.Add("key2", "val2")
    	if lc.Resize(1) != 1 {
    		t.Fatalf("evicted count differs from expected")
    	}
    }
    
    func TestLRUEdgeCases(t *testing.T) {
    	lc := lru.NewLRU[string, *string](2, nil, 0)
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Sep 08 09:19:22 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. cmd/erasure-metadata.go

    	for _, hash := range metaHashes {
    		if hash == "" {
    			continue
    		}
    		metaHashCountMap[hash]++
    	}
    
    	maxHash := ""
    	maxCount := 0
    	for hash, count := range metaHashCountMap {
    		if count > maxCount {
    			maxCount = count
    			maxHash = hash
    		}
    	}
    
    	if maxCount < quorum {
    		return FileInfo{}, InsufficientReadQuorum{Err: errErasureReadQuorum, Type: RQInconsistentMeta}
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            super(config, command);
            this.subCommand = subcommand;
        }
    
        /**
         * Gets the data count for this transaction response
         * @return the dataCount
         */
        protected final int getDataCount() {
            return this.dataCount;
        }
    
        /**
         * Sets the data count for this transaction response
         * @param dataCount
         *            the dataCount to set
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. internal/dsync/drwmutex_test.go

    	mu := NewDRWMutex(ds, "test-unlock-panic-2")
    	defer func() {
    		if recover() == nil {
    			t.Fatalf("unlock of unlocked RWMutex did not panic")
    		}
    		mu.RUnlock(t.Context()) // Unlock, so -test.count > 1 works
    	}()
    	mu.RLock(id, source)
    	mu.Unlock(t.Context())
    }
    
    // Borrowed from rwmutex_test.go
    func TestRUnlockPanic(t *testing.T) {
    	defer func() {
    		if recover() == nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. internal/s3select/sql/analysis.go

    		// Initialize accumulator
    		e.aggregate = newAggVal(funcName)
    
    		var exprA qProp
    		if funcName == aggFnCount {
    			if e.Count.StarArg {
    				return qProp{isAggregation: true}
    			}
    
    			exprA = e.Count.ExprArg.analyze(s)
    		} else {
    			if len(e.SFunc.ArgsList) != 1 {
    				return qProp{err: fmt.Errorf("%s takes exactly one argument", funcName)}
    			}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    //
    //msgp:tuple VolInfo
    type VolInfo struct {
    	// Name of the volume.
    	Name string
    
    	// Date and time when the volume was created.
    	Created time.Time
    
    	// total VolInfo counts
    	count int
    
    	// Date and time when the volume was deleted, if Deleted
    	Deleted time.Time
    }
    
    // FilesInfo represent a list of files, additionally
    // indicates if the list is last.
    //
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        }
    
        @Override
        public boolean remove(@Nullable Object key) {
          int count = 0;
          Collection<V> collection = map().remove(key);
          if (collection != null) {
            count = collection.size();
            collection.clear();
            totalSize -= count;
          }
          return count > 0;
        }
    
        @Override
        public void clear() {
          Iterators.clear(iterator());
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/Constants.java

        public static final String INCREMENTAL_CRAWLING_PROPERTY = "crawling.incremental";
    
        /** Property key for crawling thread count configuration. */
        public static final String CRAWLING_THREAD_COUNT_PROPERTY = "crawling.thread.count";
    
        /** Property key for crawling user agent configuration. */
        public static final String CRAWLING_USER_AGENT_PROPERTY = "crawling.user.agent";
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            handleField.setAccessible(true);
            assertSame(mockPolicyHandle, handleField.get(lookupSids));
    
            Field countField = lsarpc.LsarLookupSids.class.getDeclaredField("count");
            countField.setAccessible(true);
            assertEquals(2, countField.get(lookupSids));
    
            Field levelField = lsarpc.LsarLookupSids.class.getDeclaredField("level");
            levelField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

            }
            esCb.request().build(builder);
            SearchResponse response = esCb.build(builder).execute().actionGet(scrollSearchTimeout);
            String scrollId = response.getScrollId();
            int count = 0;
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = getSearchHits(response);
                    final SearchHit[] hits = searchHits.getHits();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top