Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 604 for setEnd (0.1 sec)

  1. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        }
    
        private void setConverter(NetServerEnum2Response response, int value) throws Exception {
            Field field = response.getClass().getDeclaredField("converter");
            field.setAccessible(true);
            field.setInt(response, value);
        }
    
        private int getNumEntries(NetServerEnum2Response response) throws Exception {
            Method method = getSuperclassMethod(response.getClass(), "getNumEntries");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            infoField.setAccessible(true);
            infoField.set(response, mockDecodable);
    
            Decodable first = response.getInfo();
            Decodable second = response.getInfo();
    
            assertSame(first, second, "Multiple calls should return the same instance");
        }
    
        @Test
        @DisplayName("Test getInfo with null info returns null")
        void testGetInfoWithNullInfo() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/erasure-server-pool-decom.go

    					break
    				}
    				setN := humanize.Ordinal(setIdx + 1)
    				retryDur := time.Duration(rand.Float64() * float64(5*time.Second))
    				decomLogOnceIf(ctx, fmt.Errorf("listing objects from %s set failed with %v, retrying in %v", setN, err, retryDur), "decom-listing-failed"+setN)
    				time.Sleep(retryDur)
    			}
    		}(setIdx)
    	}
    	wk.Wait()
    	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)
  8. 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)
  9. 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)
  10. 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)
Back to top