Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 566 for srcEnd (0.03 sec)

  1. cmd/bucket-replication.go

    		if err := p.loadResync(ctx, buckets, objAPI); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := max(time.Duration(r.Float64()*float64(time.Minute)),
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			time.Second)
    		time.Sleep(duration)
    	}
    }
    
    // Loads bucket replication resync statuses into memory.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/FileEntryTest.java

                when(mockEntry.getName()).thenReturn(null, "", " ");
    
                // Act & Assert
                assertNull(mockEntry.getName(), "first call returns null");
                assertEquals("", mockEntry.getName(), "second call returns empty");
                assertEquals(" ", mockEntry.getName(), "third call returns space");
    
                verify(mockEntry, times(3)).getName();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                assertEquals(100L, SMBUtil.readInt8(buffer, 0));
                assertEquals(200L, SMBUtil.readInt8(buffer, 8));
                assertEquals(1, SMBUtil.readInt4(buffer, 16));
    
                // Verify second lock
                assertEquals(300L, SMBUtil.readInt8(buffer, 24));
                assertEquals(400L, SMBUtil.readInt8(buffer, 32));
                assertEquals(2, SMBUtil.readInt4(buffer, 40));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                this.channelId = channelId;
                this.failureTime = System.currentTimeMillis();
                this.retryCount = 0;
                this.nextRetryTime = failureTime + 1000; // Initial 1 second delay
            }
    
            /**
             * Get channel ID
             *
             * @return channel identifier
             */
            public String getChannelId() {
                return channelId;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom.go

    						}
    						return
    					}
    					if configRetriableErrors(err) {
    						decomLogIf(ctx, fmt.Errorf("Unable to resume decommission of pools %v: %w: retrying..", pools, err))
    						time.Sleep(time.Second + time.Duration(r.Float64()*float64(5*time.Second)))
    						continue
    					}
    					decomLogIf(ctx, fmt.Errorf("Unable to resume decommission of pool %v: %w", pools, err))
    					return
    				}
    			}
    		}()
    	}
    
    	return nil
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 42.1K bytes
    - Viewed (1)
  6. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            // First call without SAStruts.method
            mockRequest.setQueryString("query=test");
            assertEquals(customPath, webApiRequest.getServletPath());
    
            // Second call with SAStruts.method
            mockRequest.setQueryString("SAStruts.method=execute");
            assertEquals(originalPath, webApiRequest.getServletPath());
    
            // Third call without SAStruts.method again
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                response.readBytesWireFormat(buffer1, 0);
                assertEquals(1024, response.getCount());
                assertEquals(512, response.getRemaining());
    
                // Second read - should update values
                byte[] buffer2 = createValidWriteResponse(2048, 1024);
                response.readBytesWireFormat(buffer2, 0);
                assertEquals(2048, response.getCount());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            request.writeBytesWireFormat(buffer1, 0);
    
            // Update values
            request.setNotifyFlags(Smb2ChangeNotifyRequest.SMB2_WATCH_TREE);
            request.setCompletionFilter(0xFFF);
    
            // Second write
            byte[] buffer2 = new byte[512];
            request.writeBytesWireFormat(buffer2, 0);
    
            // Then
            assertEquals(0, SMBUtil.readInt2(buffer1, 2));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            } catch (Exception e) {
                // Expected
            }
            long duration = System.currentTimeMillis() - startTime;
    
            // Test should complete in under 1 second (much less than the original 25+ seconds)
            assertTrue("Test should complete quickly (duration: " + duration + "ms)", duration < 1000);
        }
    
        // Fast mock implementations to minimize overhead
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. docs/smb3-features/02-persistent-handles-design.md

        private final long retryDelay;
        
        public HandleReconnector(PersistentHandleManager manager) {
            this.handleManager = manager;
            this.maxRetries = 3;
            this.retryDelay = 1000;  // 1 second
        }
        
        public CompletableFuture<SmbFile> reconnectHandle(SmbFile file, Exception cause) {
            String path = file.getPath();
            HandleInfo info = handleManager.getHandleForReconnect(path);
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top