Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 307 for random (0.03 sec)

  1. ci/official/containers/ml_build/Dockerfile

    # Don't use the bazel cache when a new docker image is created.
    RUN echo build --action_env=DOCKER_CACHEBUSTER=$(date +%s%N)$RANDOM >> /etc/bazel.bazelrc
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 01 02:44:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesTest.java

        byte[] expectedBytes = new byte[size];
        byte[] bytes = newPreFilledByteArray(1024);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        Random random = new Random();
        random.nextBytes(expectedBytes);
    
        // Test
        MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE);
        map.put(expectedBytes);
    
        // Verify
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. buildscripts/verify-build.sh

    #!/bin/bash
    #
    
    set -e
    set -E
    set -o pipefail
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    
    export MINT_MODE=core
    export MINT_DATA_DIR="$WORK_DIR/data"
    export SERVER_ENDPOINT="127.0.0.1:9000"
    export MC_HOST_verify="http://minio:minio123@${SERVER_ENDPOINT}/"
    export MC_HOST_verify_ipv6="http://minio:minio123@[::1]:9000/"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 19:28:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    	letterIdxMax  = 63 / letterIdxBits   // # of letter indices fitting in 63 bits
    )
    
    // Random number state.
    // We generate random temporary file names so that there's a good
    // chance the file doesn't exist yet.
    var (
    	randN  uint32
    	randmu sync.Mutex
    )
    
    // Temp files created in default Tmp dir
    var globalTestTmpDir = os.TempDir()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  5. docs/smb3-features/03-multi-channel-design.md

            
            if (totalWeight == 0) {
                // All channels have zero score, pick randomly
                List<ChannelInfo> list = new ArrayList<>(channels);
                return list.get(ThreadLocalRandom.current().nextInt(list.size()));
            }
            
            // Weighted random selection
            int random = ThreadLocalRandom.current().nextInt(totalWeight);
            int currentWeight = 0;
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Random;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.codelibs.fess.suggest.Suggester;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FilesTest.java

        byte[] expectedBytes = new byte[size];
        byte[] bytes = newPreFilledByteArray(1024);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        Random random = new Random();
        random.nextBytes(expectedBytes);
    
        // Test
        MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE);
        map.put(expectedBytes);
    
        // Verify
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                // Check that secure nonces provide full diversity (entire nonce is random)
                String nonceHex = bytesToHex(nonce);
                nonceSet.add(nonceHex);
            }
    
            // Verify that secure nonces provide excellent diversity
            // With 100 nonces and 16 random bytes, we should have all unique nonces
            assertEquals(100, nonceSet.size(), "Secure nonces should all be unique");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-utils.go

    // Trivial collisions are avoided, but this is by no means a strong hash.
    func hashDeterministicString(m map[string]string) uint64 {
    	// Seed (random)
    	crc := uint64(0xc2b40bbac11a7295)
    	// Xor each value to make order independent
    	for k, v := range m {
    		// Separate key and value with an individual xor with a random number.
    		// Add values of each, so they cannot be trivially collided.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/PreauthIntegrityService.java

            this(new SecureRandom(), DEFAULT_HASH_ALGORITHM, true);
        }
    
        /**
         * Constructs a PreauthIntegrityService with specified configuration.
         *
         * @param secureRandom the secure random generator
         * @param hashAlgorithm the hash algorithm to use
         * @param enforceIntegrity whether to enforce integrity checks
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top