Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 199 for 10000ms (0.04 sec)

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

      }
    
      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();
          assertThat(Ints.fromByteArray(Ints.toByteArray(num))).isEqualTo(num);
    
          r.nextBytes(b);
          assertThat(Ints.toByteArray(Ints.fromByteArray(b))).isEqualTo(b);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertThat(Lists.<Object>cartesianProduct(x, y))
            .containsExactly(exp1, exp2, exp3, exp4)
            .inOrder();
      }
    
      public void testCartesianProductTooBig() {
        List<String> list = nCopies(10000, "foo");
        assertThrows(
            IllegalArgumentException.class, () -> cartesianProduct(list, list, list, list, list));
      }
    
      public void testTransformHashCodeRandomAccess() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  3. src/main/resources/suggest_indices/suggest_analyzer.json

    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Oct 03 02:51:59 UTC 2019
    - 57.3K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    	if r.ContentLength <= 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMissingContentLength), r.URL)
    		return
    	}
    
    	// The max. XML contains 100000 object names (each at most 1024 bytes long) + XML overhead
    	const maxBodySize = 2 * 100000 * 1024
    
    	if r.ContentLength > maxBodySize {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEntityTooLarge), r.URL)
    		return
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    func newBatchJobPool(ctx context.Context, o ObjectLayer, workers int) *BatchJobPool {
    	jpool := &BatchJobPool{
    		ctx:          ctx,
    		objLayer:     o,
    		jobCh:        make(chan *BatchJobRequest, 10000),
    		workerKillCh: make(chan struct{}, workers),
    		jobCancelers: make(map[string]context.CancelFunc),
    	}
    	jpool.ResizeWorkers(workers)
    
    	randomWait := func() time.Duration {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.21.md

    - Migrate pkg/kubelet/cm/container_manager_linux.go and pkg/kubelet/cm/container_manager_stub.go to structured logging ([#100001](https://github.com/kubernetes/kubernetes/pull/100001), [@shiyajuan123](https://github.com/shiyajuan123)) [SIG Instrumentation and Node]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri Oct 14 07:03:14 UTC 2022
    - 367.3K bytes
    - Viewed (0)
  7. cmd/server_test.go

    	}
    
    	// create listObjectsV1 request with valid parameters
    	request, err := newTestSignedRequest(http.MethodGet, getListObjectVersionsURL(s.endPoint, bucketName, "", "1000", ""),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    	// execute the HTTP request.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    	// Trace Publisher and peer-trace-client uses nonblocking send and hence does not wait for slow receivers.
    	// Keep 100k buffered channel.
    	// If receiver cannot keep up with that we drop events.
    	traceCh := make(chan []byte, 100000)
    	peers, _ := newPeerRestClients(globalEndpoints)
    	err = globalTrace.SubscribeJSON(traceOpts.TraceTypes(), traceCh, ctx.Done(), func(entry madmin.TraceInfo) bool {
    		return shouldTrace(entry, traceOpts)
    	}, nil)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidMaxParts: {
    		Code:           "InvalidArgument",
    		Description:    "Part number must be an integer between 1 and 10000, inclusive",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidPartNumberMarker: {
    		Code:           "InvalidArgument",
    		Description:    "Argument partNumberMarker must be an integer.",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (1)
  10. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            when(mockNdrBuffer.dec_ndr_short()).thenReturn((int) (short) 10, (int) (short) 20, (int) (short) 0, (int) (short) 0,
                    (int) (short) 0, (int) (short) 0);
            when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 0, 0, 0, 0);
            when(mockDeferredNdrBuffer.dec_ndr_long()).thenReturn(-1, 0, 5); // Invalid _name_buffers
    
            assertThrows(NdrException.class, () -> dnsDomainInfo.decode(mockNdrBuffer));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
Back to top