Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for numSites (0.28 sec)

  1. cmd/site-replication.go

    			}
    			tagMismatch := !isReplicated(tagCount, numSites, tagSet)
    			olockCfgMismatch := !isReplicated(olockCfgCount, numSites, olockConfigSet)
    			sseCfgMismatch := !isReplicated(sseCfgCount, numSites, sseCfgSet)
    			versionCfgMismatch := !isReplicated(versionCfgCount, numSites, versionCfgSet)
    			policyMismatch := !isBktPolicyReplicated(numSites, policies)
    			replCfgMismatch := !isBktReplCfgReplicated(numSites, replCfgs)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/AbstractArchiveFileTreeTest.java

        @Issue("https://github.com/gradle/gradle/issues/22685")
        @Test
        public void testConcurrentArchiveVisiting() throws InterruptedException {
            Long numLines = 1000000L;
            int numFiles = 2;
            int numThreads = 3;
    
            // This visitor counts the lines in each file it visits, and makes available a list of all the line counts
            class CountingVisitor implements FileVisitor {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/MathBenchmarking.java

        BigInteger result = randomPositiveBigInteger(numBits);
        return RANDOM_SOURCE.nextBoolean() ? result : result.negate();
      }
    
      /**
       * Chooses a number in (-2^numBits, 2^numBits) at random, with density concentrated in numbers of
       * lower magnitude.
       */
      static BigInteger randomBigInteger(int numBits) {
        while (true) {
          if (RANDOM_SOURCE.nextBoolean()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExpectedDeprecationWarning.java

    public abstract class ExpectedDeprecationWarning {
    
        private final int numLines;
    
        public ExpectedDeprecationWarning(int numLines) {
            this.numLines = numLines;
        }
    
        public static ExpectedDeprecationWarning withMessage(String message) {
            Preconditions.checkArgument(message != null && !message.isEmpty(), "message must not be null or empty");
            int numLines = message.split("\n").length;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. pkg/channels/unbounded_test.go

    import (
    	"reflect"
    	"sort"
    	"sync"
    	"testing"
    )
    
    const (
    	numWriters = 10
    	numWrites  = 10
    )
    
    // wantReads contains the set of values expected to be read by the reader
    // goroutine in the tests.
    var wantReads []int
    
    func init() {
    	for i := 0; i < numWriters; i++ {
    		for j := 0; j < numWrites; j++ {
    			wantReads = append(wantReads, i)
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 31 19:53:39 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

        }
        public synchronized long skip( long numbytes ) throws IOException {
            if( numbytes <= 0 ) {
                return 0;
            }
            long n = numbytes;
            while( n > 0 ) {
                int r = read( tmp, 0, (int)Math.min( (long)TMP_BUFFER_SIZE, n ));
                if (r < 0) {
                    break;
                }
                n -= r;
            }
            return numbytes - n;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/Utf8Test.java

        byte[] bytes = new byte[numBytes];
        if (lim == -1) {
          lim = 1L << (numBytes * 8);
        }
        long countRoundTripped = 0;
        for (long byteChar = start; byteChar < lim; byteChar++) {
          long tmpByteChar = byteChar;
          for (int i = 0; i < numBytes; i++) {
            bytes[bytes.length - i - 1] = (byte) tmpByteChar;
            tmpByteChar = tmpByteChar >> 8;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

        BigInteger result = randomPositiveBigInteger(numBits);
        return RANDOM_SOURCE.nextBoolean() ? result : result.negate();
      }
    
      /**
       * Chooses a number in (-2^numBits, 2^numBits) at random, with density concentrated in numbers of
       * lower magnitude.
       */
      static BigInteger randomBigInteger(int numBits) {
        while (true) {
          if (RANDOM_SOURCE.nextBoolean()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/meta/help_test.go

    	tm := s.TypeMeta
    	return &tm
    }
    
    func (s *Sample) DeepCopyObject() runtime.Object { panic("unimplemented") }
    
    func fakeSampleList(numItems int) *SampleList {
    	out := &SampleList{
    		Items: make([]Sample, numItems),
    	}
    
    	for i := range out.Items {
    		out.Items[i] = Sample{
    			TypeMeta: metav1.TypeMeta{
    				APIVersion: "sample.org/v1",
    				Kind:       "Sample",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 13:40:46 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. src/cmd/go/internal/imports/scan.go

    			}
    		}
    
    		if !explicitFiles && !ShouldBuild(data, tags) {
    			continue
    		}
    		numFiles++
    		m := imports
    		if strings.HasSuffix(name, "_test.go") {
    			m = testImports
    		}
    		for _, p := range list {
    			q, err := strconv.Unquote(p)
    			if err != nil {
    				continue
    			}
    			m[q] = true
    		}
    	}
    	if numFiles == 0 {
    		return nil, nil, ErrNoGo
    	}
    	return keys(imports), keys(testImports), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 23 19:36:38 UTC 2020
    - 2.6K bytes
    - Viewed (0)
Back to top