Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 604 for setEnd (0.18 sec)

  1. cmd/erasure-server-pool.go

    	if opts.Cached {
    		listBucketsCache.InitOnce(time.Second,
    			cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    			func(ctx context.Context) ([]BucketInfo, error) {
    				ctx, cancel := context.WithTimeout(ctx, 5*time.Second)
    				defer cancel()
    
    				buckets, err = z.s3Peer.ListBuckets(ctx, opts)
    				if err != nil {
    					return nil, err
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                fileFsSizeInfo.decode(buffer1.array(), 0, 24);
                long firstCapacity = fileFsSizeInfo.getCapacity();
                long firstFree = fileFsSizeInfo.getFree();
    
                // When - second decode with different values
                ByteBuffer buffer2 = ByteBuffer.allocate(24);
                buffer2.order(ByteOrder.LITTLE_ENDIAN);
                buffer2.putLong(2000L);
                buffer2.putLong(1500L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            SmbTreeHandleImpl tree = fh.getTree();
            // do not actually perform network call
            when(tree.send(any(jcifs.internal.Request.class), any(RequestParam.class))).thenReturn(null);
    
            raf.setLength(100L);
    
            verify(tree, times(1)).send(any(Smb2SetInfoRequest.class), eq(RequestParam.NO_RETRY));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. tests/upsert_test.go

    	user.Age = 20
    	if err := DB.Create(&user).Error; err != nil {
    		t.Errorf("failed to create user, got error %v", err)
    	}
    
    	var user2 User
    	DB.First(&user2, user.ID)
    	user2.Age = 30
    	time.Sleep(time.Second)
    	if err := DB.Clauses(clause.OnConflict{UpdateAll: true}).Create(&user2).Error; err != nil {
    		t.Fatalf("failed to onconflict create user, got error %v", err)
    	} else {
    		var user3 User
    		DB.First(&user3, user.ID)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SmbCircuitBreaker.java

        private final AtomicInteger consecutiveSuccesses = new AtomicInteger(0);
    
        // Hystrix-style windowed statistics
        private final RollingWindow rollingWindow = new RollingWindow(10, 1000); // 10 buckets, 1 second each
    
        /**
         * Create a circuit breaker with default settings
         *
         * @param name circuit breaker name for logging
         */
        public SmbCircuitBreaker(String name) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

         * @throws IOException if an I/O error occurs
         */
        protected abstract Long peekKey() throws IOException;
    
        /**
         * Send a request over the transport
         *
         * @param request the request to send
         * @throws IOException if an I/O error occurs
         */
        protected abstract void doSend(Request request) throws IOException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser_test.go

    					),
    					// SignedHeaders.
    					[]string{"host", "x-amz-content-sha256", "x-amz-date"},
    					// Signature.
    					"abcd",
    				},
    				// Date
    				queryTime,
    				// Expires.
    				100 * time.Second,
    			},
    			expectedErrCode: ErrNone,
    		},
    
    		// Test case - 9.
    		// Test case with value greater than 604800 in X-Amz-Expires header.
    		{
    			inputQueryKeyVals: []string{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

          val originalRequest = chain.request()
          val originalResponse =
            chain.proceed(
              originalRequest
                .newBuilder()
                .addHeader("Request-Interceptor", "Bob") // 2. Added second.
                .build(),
            )
          originalResponse
            .newBuilder()
            .addHeader("Response-Interceptor", "Cupcake") // 3. Added third.
            .build()
        }
        val request =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        addEdge(N1, N2, E12_A);
    
        assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12, E12_A);
        // Passed nodes should be in the correct edge direction, first is the
        // source node and the second is the target node
        assertThat(network.edgesConnecting(N2, N1)).isEmpty();
      }
    
      @Test
      public void edgesConnecting_parallelEdges_undirected() {
        assume().that(network.allowsParallelEdges()).isTrue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Chars.java

       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
       * equivalent {@link Character#compare} method instead.
       *
       * @param a the first {@code char} to compare
       * @param b the second {@code char} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top