Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 377 for randPod (0.92 sec)

  1. src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go

    	}
    
    	return r
    }
    
    // replace returns x with literal text PATTERN and RANDOM replaced by pattern and random.
    func replace(x, pattern, random string) string {
    	x = strings.ReplaceAll(x, "PATTERN", pattern)
    	x = strings.ReplaceAll(x, "RANDOM", random)
    	return x
    }
    
    // commonSuffix returns the longest common binary suffix shared by all uint64s in list.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_messages_test.go

    }
    
    func TestRejectEmptySCTList(t *testing.T) {
    	// RFC 6962, Section 3.3.1 specifies that empty SCT lists are invalid.
    
    	var random [32]byte
    	sct := []byte{0x42, 0x42, 0x42, 0x42}
    	serverHello := &serverHelloMsg{
    		vers:   VersionTLS12,
    		random: random[:],
    		scts:   [][]byte{sct},
    	}
    	serverHelloBytes := mustMarshal(t, serverHello)
    
    	var serverHelloCopy serverHelloMsg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/math/rand/rng.go

    			u ^= int64(x)
    			u ^= rngCooked[i]
    			rng.vec[i] = u
    		}
    	}
    }
    
    // Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (rng *rngSource) Int63() int64 {
    	return int64(rng.Uint64() & rngMask)
    }
    
    // Uint64 returns a non-negative pseudo-random 64-bit integer as a uint64.
    func (rng *rngSource) Uint64() uint64 {
    	rng.tap--
    	if rng.tap < 0 {
    		rng.tap += rngLen
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 14:20:53 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  4. src/runtime/hash_test.go

    		b[n+1] = byte(v >> 8)
    		b[n+2] = byte(v >> 16)
    		b[n+3] = byte(v >> 24)
    		genPerm(h, b, s, n+4)
    	}
    }
    
    type Key interface {
    	clear()              // set bits all to 0
    	random(r *rand.Rand) // set key to something random
    	bits() int           // how many bits key has
    	flipBit(i int)       // flip bit i of the key
    	hash() uintptr       // hash the key
    	name() string        // for error reporting
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. testing/soak/src/integTest/groovy/org/gradle/resolve/DependencyResolutionStressTest.groovy

            }
    
            void writeContentTo(OutputStream outputStream) {
                outputStream.write(content)
            }
        }
    
        static abstract class ResourceGenerator {
            private final Random random = new Random()
    
            Resource regenerate() {
                def str = new ByteArrayOutputStream()
                generateContent(str)
                def content = str.toByteArray()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/Striped64.java

       * class-unloading when ThreadLocals are not removed.
       */
      static final ThreadLocal<int @Nullable []> threadHashCode = new ThreadLocal<>();
    
      /** Generator of new random hash codes */
      static final Random rng = new Random();
    
      /** Number of CPUS, to place bound on table size */
      static final int NCPU = Runtime.getRuntime().availableProcessors();
    
      /** Table of cells. When non-null, size is a power of 2. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/Striped64.java

       * class-unloading when ThreadLocals are not removed.
       */
      static final ThreadLocal<int @Nullable []> threadHashCode = new ThreadLocal<>();
    
      /** Generator of new random hash codes */
      static final Random rng = new Random();
    
      /** Number of CPUS, to place bound on table size */
      static final int NCPU = Runtime.getRuntime().availableProcessors();
    
      /** Table of cells. When non-null, size is a power of 2. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (2)
  8. guava/src/com/google/common/hash/Striped64.java

       * class-unloading when ThreadLocals are not removed.
       */
      static final ThreadLocal<int @Nullable []> threadHashCode = new ThreadLocal<>();
    
      /** Generator of new random hash codes */
      static final Random rng = new Random();
    
      /** Number of CPUS, to place bound on table size */
      static final int NCPU = Runtime.getRuntime().availableProcessors();
    
      /** Table of cells. When non-null, size is a power of 2. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Striped64.java

       * class-unloading when ThreadLocals are not removed.
       */
      static final ThreadLocal<int @Nullable []> threadHashCode = new ThreadLocal<>();
    
      /** Generator of new random hash codes */
      static final Random rng = new Random();
    
      /** Number of CPUS, to place bound on table size */
      static final int NCPU = Runtime.getRuntime().availableProcessors();
    
      /** Table of cells. When non-null, size is a power of 2. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_client.go

    		// Overwrite the server name in the outer hello with the public facing
    		// name.
    		hello.serverName = string(ech.config.PublicName)
    		// Generate a new random for the outer hello.
    		hello.random = make([]byte, 32)
    		_, err = io.ReadFull(c.config.rand(), hello.random)
    		if err != nil {
    			return errors.New("tls: short read from Rand: " + err.Error())
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
Back to top