Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 388 for random (0.17 sec)

  1. android/guava-tests/test/com/google/common/primitives/IntsTest.java

            .isEqualTo(0x12131415);
        assertThat(Ints.fromBytes((byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC))
            .isEqualTo(0xFFEEDDCC);
      }
    
      public void testByteArrayRoundTrips() {
        Random r = new Random(5);
        byte[] b = new byte[Ints.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          int num = r.nextInt();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/LongsTest.java

                    (byte) 0xAA,
                    (byte) 0x99,
                    (byte) 0x88))
            .isEqualTo(0xFFEEDDCCBBAA9988L);
      }
    
      public void testByteArrayRoundTrips() {
        Random r = new Random(5);
        byte[] b = new byte[Longs.BYTES];
    
        for (int i = 0; i < 1000; i++) {
          long num = r.nextLong();
          assertThat(Longs.fromByteArray(Longs.toByteArray(num))).isEqualTo(num);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingList.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p>This class does not implement {@link java.util.RandomAccess}. If the delegate supports random
     * access, the {@code ForwardingList} subclass should implement the {@code RandomAccess} interface.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingList} forward <b>indiscriminately</b> to the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Lists.java

       * vice-versa. The returned list supports all of the optional list operations supported by this
       * list.
       *
       * <p>The returned list is random-access if the specified list is random access.
       *
       * @since 7.0
       */
      public static <T extends @Nullable Object> List<T> reverse(List<T> list) {
        if (list instanceof ImmutableList) {
          // Avoid nullness warnings.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.10.md

    * Fix `RunAsGroup` which doesn't work since 1.10. ([#65926](https://github.com/kubernetes/kubernetes/pull/65926), [@Random-Liu](https://github.com/Random-Liu))
    * Fix a bug that preempting a pod may block forever. ([#65987](https://github.com/kubernetes/kubernetes/pull/65987), [@Random-Liu](https://github.com/Random-Liu))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 341.8K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

            assertOrder(X_LT_Y, "1.max", "2.min");
        }
    
        /**
         * UT for <a href="https://issues.apache.org/jira/browse/MRESOLVER-314">MRESOLVER-314</a>.
         *
         * Generates random UUID string based versions and tries to sort them. While this test is not as reliable
         * as {@link #testCompareUuidVersionStringStream()}, it covers broader range and in case it fails it records
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.11.md

        * Update kubectl to v1.10.7.
    * Support extra `--prune-whitelist` resources in kube-addon-manager. ([#67743](https://github.com/kubernetes/kubernetes/pull/67743), [@Random-Liu](https://github.com/Random-Liu))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 328.4K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.12.md

    - Kubernetes now supports extra `--prune-whitelist` resources in kube-addon-manager. ([#67743](https://github.com/kubernetes/kubernetes/pull/67743), [@Random-Liu](https://github.com/Random-Liu))
    - Graduate Resource Quota ScopeSelectors to beta, and enable it by default. ([#67077](https://github.com/kubernetes/kubernetes/pull/67077), [@vikaschoudhary16](https://github.com/vikaschoudhary16))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 293.8K bytes
    - Viewed (0)
  9. cmd/post-policy_test.go

    func testPostPolicyBucketHandler(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	if err := newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("Initializing config.json failed")
    	}
    
    	// get random bucket name.
    	bucketName := getRandomBucketName()
    
    	var opts ObjectOptions
    	// Register the API end points with Erasure/FS object layer.
    	apiRouter := initTestAPIEndPoints(obj, []string{"PostPolicy"})
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  10. cmd/perf-tests.go

    }
    
    func (n *netPerfRX) Reset() {
    	n.Lock()
    	defer n.Unlock()
    	n.RX = 0
    	n.RXSample = 0
    	n.lastToConnect = time.Time{}
    	n.firstToDisconnect = time.Time{}
    }
    
    // Reader to read random data.
    type netperfReader struct {
    	n   uint64
    	eof chan struct{}
    	buf []byte
    }
    
    func (m *netperfReader) Read(b []byte) (int, error) {
    	select {
    	case <-m.eof:
    		return 0, io.EOF
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top