Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 334 for randomOp (0.11 sec)

  1. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        }
    
    
        /**
         * Instantiate a random access file from a {@link SmbFile}
         * 
         * @param file
         * @param mode
         * @throws SmbException
         */
        public SmbRandomAccessFile ( SmbFile file, String mode ) throws SmbException {
            this(file, mode, SmbConstants.DEFAULT_SHARING, false);
        }
    
    
        /**
         * Instantiate a random access file from a {@link SmbFile}
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/generate_test.go

    					Service: &admitv1.ServiceReference{
    						Namespace: "default",
    						Name:      "istiod-revision",
    					},
    					CABundle: []byte("ca"),
    				},
    			},
    		},
    	}
    	remoteInjectionURL             = "https://random.host.com/inject/cluster/cluster1/net/net1"
    	revisionCanonicalWebhookRemote = admitv1.MutatingWebhookConfiguration{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:   "istio-sidecar-injector-revision",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. 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 Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils_test.go

    	}{
    		{"shastring", "", "shastring"},
    		{emptySHA256, "", emptySHA256},
    		{"", "", emptySHA256},
    		{"", "X-Amz-Credential=random", unsignedPayload},
    		{"", "X-Amz-Credential=random&X-Amz-Content-Sha256=" + unsignedPayload, unsignedPayload},
    		{"", "X-Amz-Credential=random&X-Amz-Content-Sha256=shastring", "shastring"},
    	}
    
    	for i, testCase := range testCases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. internal/dsync/locked_rand.go

    	"sync"
    )
    
    // lockedRandSource provides protected rand source, implements rand.Source interface.
    type lockedRandSource struct {
    	lk  sync.Mutex
    	src rand.Source
    }
    
    // Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *lockedRandSource) Int63() (n int64) {
    	r.lk.Lock()
    	n = r.src.Int63()
    	r.lk.Unlock()
    	return
    }
    
    // Seed uses the provided seed value to initialize the generator to a
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 18 15:39:59 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

        queue = (BlockingQueue<String>) constructor.newInstance(capacity);
    
        strings = new String[capacity];
        for (int i = 0; i < capacity; i++) {
          strings[i] = String.valueOf(Math.random());
        }
      }
    
      @Benchmark
      void addsAndRemoves(int reps) {
        int capacity = this.capacity;
        BlockingQueue<String> queue = this.queue;
        String[] strings = this.strings;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2K bytes
    - Viewed (0)
  9. docs/throttle/README.md

    ## Examples
    
    ### Configuring connection limit
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 1.5K bytes
    - Viewed (1)
  10. okhttp-android/src/main/baseline-prof.txt

    Lkotlin/jvm/internal/TypeIntrinsics;
    Lkotlin/jvm/internal/markers/KMappedMarker;
    Lkotlin/jvm/internal/markers/KMutableList;
    Lkotlin/random/AbstractPlatformRandom;
    Lkotlin/random/FallbackThreadLocalRandom$implStorage$1;
    Lkotlin/random/FallbackThreadLocalRandom;
    Lkotlin/random/Random$Default;
    Lkotlin/random/Random;
    Lkotlin/ranges/IntProgression;
    Lkotlin/ranges/IntProgressionIterator;
    Lkotlin/ranges/IntRange;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top