Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 759 for Count (0.02 sec)

  1. guava/src/com/google/common/base/CharMatcher.java

       */
      public int countIn(CharSequence sequence) {
        int count = 0;
        for (int i = 0; i < sequence.length(); i++) {
          if (matches(sequence.charAt(i))) {
            count++;
          }
        }
        return count;
      }
    
      /**
       * Returns a string containing all non-matching characters of a character sequence, in order. For
       * example:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	} else {
    		tags["invalid"] = "1"
    		tags["d:p"] = fmt.Sprintf("%d:%d", er.setDriveCount-er.defaultParityCount, er.defaultParityCount)
    	}
    
    	// count the number of offline disks
    	offline := 0
    	for i := 0; i < len(errs); i++ {
    		var found bool
    		switch {
    		case errors.Is(errs[i], errDiskNotFound):
    			found = true
    		default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. cmd/metrics.go

    			prometheus.GaugeValue,
    			float64(usageInfo.Size),
    			bucket,
    		)
    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    				prometheus.BuildFQName(bucketNamespace, "objects", "count"),
    				"Total number of objects in a bucket",
    				[]string{"bucket"}, nil),
    			prometheus.GaugeValue,
    			float64(usageInfo.ObjectsCount),
    			bucket,
    		)
    		ch <- prometheus.MustNewConstMetric(
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. internal/s3select/unused-errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseUnsupportedCallWithStar(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseUnsupportedCallWithStar",
    		message:    "Only COUNT with (*) as a parameter is supported in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseMalformedJoin(err error) *s3Error {
    	return &s3Error{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

          // otherwise have another task queued on to it. Note the exception to this, cancellation, is
          // specially handled in execute() - execute() calls triggered by cancellation are no-ops, and
          // thus don't count.
          requireNonNull(sequencer).latestTaskQueue = executingTaskQueue;
          sequencer = null;
          try {
            // requireNonNull is safe, as discussed above.
            Runnable localTask = requireNonNull(task);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. docs/bigdata/README.md

    scala> counts.saveAsTextFile("s3a://testbucket/wordcount")
    ```
    
    Use one of the following approaches to view job output:
    
    View output in the Scala shell:
    
    ```
    scala> counts.count()
    364
    ```
    
    To view the output from MinIO exit the Scala shell. View WordCount job status:
    
    ```
    hadoop fs -ls s3a://testbucket/wordcount
    ```
    
    The output should be similar to the following:
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        CollectionSize.ANY,
        ALLOWS_NULL_VALUES,
        SUPPORTS_REMOVE,
        CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
        MultisetTestSuiteBuilder.NoRecurse.NO_ENTRY_SET, // Cannot create entries with count > 1
      };
    
      static final Supplier<TreeSet<String>> STRING_TREESET_FACTORY =
          new Supplier<TreeSet<String>>() {
            @Override
            public TreeSet<String> get() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CallTest.kt

            return if (chunked) -1L else size
          }
    
          override fun writeTo(sink: BufferedSink) {
            var count = 0
            while (count < size) {
              sink.write(buffer, 0, Math.min(size - count, writeSize.toLong()).toInt())
              count += writeSize
            }
          }
        }
      }
    
      @Test
      fun emptyResponseBody() {
        server.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  9. internal/s3select/sql/funceval.go

    	errNonTimestampArg   = errors.New("Expected a timestamp argument")
    )
    
    func (e *FuncExpr) getFunctionName() FuncName {
    	switch {
    	case e.SFunc != nil:
    		return FuncName(strings.ToUpper(e.SFunc.FunctionName))
    	case e.Count != nil:
    		return aggFnCount
    	case e.Cast != nil:
    		return sqlFnCast
    	case e.Substring != nil:
    		return sqlFnSubstring
    	case e.Extract != nil:
    		return sqlFnExtract
    	case e.Trim != nil:
    		return sqlFnTrim
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheBuilder.java

          Suppliers.ofInstance(
              new StatsCounter() {
                @Override
                public void recordHits(int count) {}
    
                @Override
                public void recordMisses(int count) {}
    
                @SuppressWarnings("GoodTime") // b/122668874
                @Override
                public void recordLoadSuccess(long loadTime) {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
Back to top