- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 593 for seront (0.04 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
// Then assertEquals(2, written, "Should write 2 bytes"); assertEquals(SmbComTransaction.TRANS2_FIND_NEXT2, dst[0], "First byte must be subCommand"); assertEquals((byte) 0x00, dst[1], "Second byte must be 0"); } /** * Validates writeParametersWireFormat encodes values in the correct order and endianness. */ @Test void testWriteParametersWireFormat() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
#### A "professional" attack { #a-professional-attack } Of course, the attackers would not try all this by hand, they would write a program to do it, possibly with thousands or millions of tests per second. And they would get just one extra correct letter at a time.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0) -
cmd/metacache-manager.go
func (m *metacacheManager) initManager() { // Add a transient bucket. // Start saver when object layer is ready. go func() { objAPI := newObjectLayerFn() for objAPI == nil { time.Sleep(time.Second) objAPI = newObjectLayerFn() } t := time.NewTicker(time.Minute) defer t.Stop() var exit bool for !exit { select { case <-t.C: case <-GlobalContext.Done(): exit = true
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
} totalSize--; } } /** * {@inheritDoc} * * <p>The iterator generated by the returned collection traverses the values for one key, followed * by the values of a second key, and so on. */ @Override public Collection<V> values() { return super.values(); } @Override Collection<V> createValues() { return new Values(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:51:57 UTC 2025 - 48.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
tests/transaction_test.go
} } func TestTransactionWithDefaultTimeout(t *testing.T) { db, err := OpenTestConnection(&gorm.Config{DefaultTransactionTimeout: 2 * time.Second}) if err != nil { t.Fatalf("failed to connect database, got error %v", err) } tx := db.Begin() time.Sleep(3 * time.Second) if err = tx.Find(&User{}).Error; err == nil { t.Errorf("should return error when transaction timeout, got error %v", err) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 13.3K bytes - Viewed (0)