Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,271 for cout (0.19 sec)

  1. cmd/endpoint-ellipses.go

    	for i := 1; i < len(totalSizes); i++ {
    		result = gcd(result, totalSizes[i])
    	}
    	return result
    }
    
    // isValidSetSize - checks whether given count is a valid set size for erasure coding.
    var isValidSetSize = func(count uint64) bool {
    	return (count >= setSizes[0] && count <= setSizes[len(setSizes)-1])
    }
    
    func commonSetDriveCount(divisibleSize uint64, setCounts []uint64) (setSize uint64) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            final Vector<String> vector = new Vector<String>();
            vector.add("a");
            vector.add("b");
            int count = 0;
            for (final String s : iterable(vector.elements())) {
                ++count;
            }
            assertThat(count, is(2));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.EnumerationIterator#EnumerationIterator(Enumeration)}
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/GraphsTest.java

      private static final int NODE_COUNT = 20;
      private static final int EDGE_COUNT = 20;
      // TODO(user): Consider adding both error messages from here and {@link AbstractNetworkTest}
      // in one class (may be a utility class for error messages).
      private static final String ERROR_PARALLEL_EDGE = "connected by a different edge";
      private static final String ERROR_NEGATIVE_COUNT = "is non-negative";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 24.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                }
            }
    
            int totalCount = 0;
            int count = 1;
            final ExecutorService executorService = Executors.newFixedThreadPool(options.numOfThreads);
            try {
                while (count != 0) {
                    count = ComponentUtil.getThumbnailManager().generate(executorService, options.cleanup);
                    totalCount += count;
                }
                executorService.shutdown();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. cmd/http-stats.go

    import (
    	"net/http"
    	"strings"
    	"sync"
    	"sync/atomic"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/prometheus/client_golang/prometheus"
    )
    
    // connStats - Network statistics
    // Count total input/output transferred bytes during
    // the server's life.
    type connStats struct {
    	internodeInputBytes  uint64
    	internodeOutputBytes uint64
    	s3InputBytes         uint64
    	s3OutputBytes        uint64
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/StandardNetwork.java

    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.graph.GraphConstants.DEFAULT_EDGE_COUNT;
    import static com.google.common.graph.GraphConstants.DEFAULT_NODE_COUNT;
    import static com.google.common.graph.GraphConstants.EDGE_NOT_IN_GRAPH;
    import static com.google.common.graph.GraphConstants.NODE_NOT_IN_GRAPH;
    import static java.util.Objects.requireNonNull;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MultimapsTest.java

        Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory);
        assertEquals(0, factory.count);
        multimap.putAll(Color.BLUE, asList(3, 1, 4));
        assertEquals(1, factory.count);
        multimap.putAll(Color.RED, asList(2, 7, 1, 8));
        assertEquals(2, factory.count);
        assertEquals("[3, 1, 4]", multimap.get(Color.BLUE).toString());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Range.java

        checkNotNull(lowerType);
        checkNotNull(upperType);
    
        Cut<C> lowerBound =
            (lowerType == BoundType.OPEN) ? Cut.aboveValue(lower) : Cut.belowValue(lower);
        Cut<C> upperBound =
            (upperType == BoundType.OPEN) ? Cut.belowValue(upper) : Cut.aboveValue(upper);
        return create(lowerBound, upperBound);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/DoubleMath.java

        checkArgument(values.length > 0, "Cannot take mean of 0 values");
        long count = 1;
        double mean = checkFinite(values[0]);
        for (int index = 1; index < values.length; ++index) {
          checkFinite(values[index]);
          count++;
          // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15)
          mean += (values[index] - mean) / count;
        }
        return mean;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  10. cmd/site-replication-metrics_gen.go

    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Count":
    			z.Count, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Count")
    				return
    			}
    		case "Bytes":
    			z.Bytes, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Bytes")
    				return
    			}
    		default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 40.6K bytes
    - Viewed (0)
Back to top