Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 678 for counts (0.06 sec)

  1. guava-tests/test/com/google/common/collect/HashMultisetTest.java

        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
      }
    
      public void testCreateWithSize() {
        Multiset<String> multiset = HashMultiset.create(50);
        multiset.add("foo", 2);
        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
      }
    
      public void testCreateFromIterable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

        @SuppressWarnings("unchecked") // values only contains Vs
        @CanIgnoreReturnValue
        public int setCount(int count) {
          updateLastKnownIndex();
          if (lastKnownIndex == -1) {
            put(key, count);
            return 0;
          } else {
            int old = values[lastKnownIndex];
            values[lastKnownIndex] = count;
            return old;
          }
        }
      }
    
      private static int getHash(long entry) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            assertEquals("1", extractData.getValues("meta:paragraph-count")[0]);
            assertEquals("太郎", extractData.getValues("dc:creator")[0]);
            assertEquals("かいしゃ", extractData.getValues("extended-properties:Company")[0]);
            assertEquals("2010-07-22T00:21:00Z", extractData.getValues("dcterms:created")[0]);
            assertEquals("1", extractData.getValues("meta:line-count")[0]);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

                throwValidationErrorApi(messages -> messages.addErrorsInvalidQueryUnknown(GLOBAL));
            }
            try {
                final long count = searchHelper.deleteByQuery(request, body);
                return asJson(new ApiDeleteResponse().count(count).status(Status.OK).result());
            } catch (final InvalidQueryException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug(e.getMessage(), e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        CountingRunnable listener = new CountingRunnable();
        future.addListener(listener, directExecutor());
        assertEquals(1, listener.count);
      }
    
      private static final class CountingRunnable implements Runnable {
        int count;
    
        @Override
        public void run() {
          count++;
        }
      }
    
      @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. internal/http/headers.go

    )
    
    // Common http query params S3 API
    const (
    	VersionID = "versionId"
    
    	PartNumber = "partNumber"
    
    	UploadID = "uploadId"
    )
    
    // http headers sent to webhook targets
    const (
    	// Reports the version of MinIO server
    	MinIOVersion             = "x-minio-version"
    	WebhookEventPayloadCount = "x-minio-webhook-payload-count"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. internal/s3select/sql/parser.go

    	ArgsList []*Expression `parser:"\"(\" (@@ (\",\" @@)*)?\")\""`
    }
    
    // CountFunc represents the COUNT sql function
    type CountFunc struct {
    	StarArg bool        `parser:" \"COUNT\" \"(\" ( @\"*\"?"`
    	ExprArg *Expression `parser:" @@? )! \")\""`
    }
    
    // CastFunc represents CAST sql function
    type CastFunc struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                          holder.count++;
                          return null;
                        }
                      },
                      directExecutor());
            }
          }
          settableFuture.set(null);
          completeLengthChecks = allAsList(lengthChecks).get();
        } finally {
          service.shutdown();
        }
        assertThat(holder.count).isEqualTo(ITERATION_COUNT);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. scan.go

    						fields[idx] = field
    						if count, ok := matchedFieldCount[column]; ok {
    							// handle duplicate fields
    							for _, selectField := range sch.Fields {
    								if selectField.DBName == column && selectField.Readable {
    									if count == 0 {
    										matchedFieldCount[column]++
    										fields[idx] = selectField
    										break
    									}
    									count--
    								}
    							}
    						} else {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. cmd/config.go

    				if err != nil {
    					// ignore history file that cannot be loaded.
    					continue
    				}
    
    				cfgEntry.Data = string(data)
    			}
    			configHistory = append(configHistory, cfgEntry)
    			count--
    			if count == 0 {
    				break
    			}
    		}
    		if !res.IsTruncated {
    			// We are done here
    			break
    		}
    		marker = res.NextMarker
    	}
    	sort.Slice(configHistory, func(i, j int) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top