Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for trials (0.06 sec)

  1. guava-tests/test/com/google/common/hash/HashTestUtils.java

       */
      static void checkAvalanche(HashFunction function, int trials, double epsilon) {
        Random rand = new Random(0);
        int keyBits = 32;
        int hashBits = function.bits();
        for (int i = 0; i < keyBits; i++) {
          int[] same = new int[hashBits];
          int[] diff = new int[hashBits];
          // go through trials to compute probability
          for (int j = 0; j < trials; j++) {
            int key1 = rand.nextInt();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        for (Comparator<byte[]> comparator :
            Arrays.asList(
                UnsignedBytes.lexicographicalComparator(),
                UnsignedBytes.lexicographicalComparatorJavaImpl())) {
          for (int trials = 10; trials-- > 0; ) {
            byte[] left = new byte[1 + rnd.nextInt(32)];
            rnd.nextBytes(left);
            byte[] right = left.clone();
            assertThat(comparator.compare(left, right)).isEqualTo(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. cmd/last-minute_gen.go

    								return
    							}
    						case "Size":
    							z[za0001].Totals[za0002].Size, err = dc.ReadInt64()
    							if err != nil {
    								err = msgp.WrapError(err, za0001, "Totals", za0002, "Size")
    								return
    							}
    						case "N":
    							z[za0001].Totals[za0002].N, err = dc.ReadInt64()
    							if err != nil {
    								err = msgp.WrapError(err, za0001, "Totals", za0002, "N")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
  4. cmd/bucket-stats.go

    		merged.LastMin = l.LastMin
    	} else {
    		l.forwardTo(o.LastMin)
    		merged.LastMin = o.LastMin
    	}
    
    	for i := range merged.Totals {
    		merged.Totals[i] = AccElem{
    			Total: l.Totals[i].Total + o.Totals[i].Total,
    			N:     l.Totals[i].N + o.Totals[i].N,
    			Size:  l.Totals[i].Size + o.Totals[i].Size,
    		}
    	}
    	return merged
    }
    
    // Add  a new duration data
    func (l *ReplicationLastHour) addsize(sz int64) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Dfs.java

                            dr = null;
                        }
    
                        if (dr == null) {
                            if (trans == null)
                                if ((trans = getDc(domain, auth)) == null)
                                    return null;
                            dr = getReferral(trans, domain, root, path, auth);
                            if (dr != null) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        Random random = new Random();
        int warmupPermits = 10;
        double[] coldFactorsToTest = {2.0, 3.0, 10.0};
        double[] qpsToTest = {4.0, 2.0, 1.0, 0.5, 0.1};
        for (int trial = 0; trial < 100; trial++) {
          for (double coldFactor : coldFactorsToTest) {
            for (double qps : qpsToTest) {
              // If warmupPermits = maxPermits - thresholdPermits then
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        Random random = new Random();
        int warmupPermits = 10;
        double[] coldFactorsToTest = {2.0, 3.0, 10.0};
        double[] qpsToTest = {4.0, 2.0, 1.0, 0.5, 0.1};
        for (int trial = 0; trial < 100; trial++) {
          for (double coldFactor : coldFactorsToTest) {
            for (double qps : qpsToTest) {
              // If warmupPermits = maxPermits - thresholdPermits then
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  8. cmd/data-scanner.go

    	d.maxSleep = maxWait
    	d.cycle = make(chan struct{})
    	return nil
    }
    
    const (
    	// ILMExpiry - audit trail for ILM expiry
    	ILMExpiry = "ilm:expiry"
    	// ILMFreeVersionDelete - audit trail for ILM free-version delete
    	ILMFreeVersionDelete = "ilm:free-version-delete"
    	// ILMTransition - audit trail for ILM transitioning.
    	ILMTransition = " ilm:transition"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DfsImpl.java

                    @SuppressWarnings ( "resource" )
                    SmbTransportInternal trans = dc != null ? dc.unwrap(SmbTransportInternal.class) : null;
                    if ( trans != null ) {
                        // get domain referral
                        initial = trans.getDfsReferrals(tf.withAnonymousCredentials(), "", trans.getRemoteHostName(), authDomain, 0);
                    }
                    if ( initial != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

    import jcifs.SmbPipeHandle;
    import jcifs.SmbPipeResource;
    import jcifs.internal.smb1.trans.TransCallNamedPipe;
    import jcifs.internal.smb1.trans.TransCallNamedPipeResponse;
    import jcifs.internal.smb1.trans.TransTransactNamedPipe;
    import jcifs.internal.smb1.trans.TransTransactNamedPipeResponse;
    import jcifs.internal.smb1.trans.TransWaitNamedPipe;
    import jcifs.internal.smb1.trans.TransWaitNamedPipeResponse;
    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
Back to top