- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 481 for 1500 (0.03 sec)
-
src/main/java/jcifs/util/SmbCircuitBreaker.java
if (total == 0) { return 100.0; } return (totalSuccesses.get() * 100.0) / total; } /** * Calculate availability * * @return availability as percentage (0-100) */ private double calculateAvailability() { long total = totalRequests.get(); if (total == 0) { return 100.0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
assertEquals(0x0010, response.getAttributes()); // getLastWriteTime returns lastWriteTime (from readUTime) + serverTimeZoneOffset // readUTime multiplies the seconds value by 1000, and writeUTime divides milliseconds by 1000 // So the round-trip should preserve the milliseconds value assertEquals(sampleTimeMillis + serverTimeZoneOffset, response.getLastWriteTime()); assertEquals(1024, response.getSize());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
assertTrue(initialTime >= 0, "Should have initial timestamp"); // Trip circuit circuitBreaker.trip(); Thread.sleep(100); long afterTripTime = circuitBreaker.getTimeSinceLastStateChange(); assertTrue(afterTripTime >= 100, "Time should have advanced"); assertTrue(afterTripTime < 200, "Time should be reasonable"); // Reset circuit circuitBreaker.reset();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
cmd/local-locker_test.go
"fmt" "math/rand" "testing" "time" "github.com/google/uuid" "github.com/minio/minio/internal/dsync" ) func TestLocalLockerExpire(t *testing.T) { wResources := make([]string, 1000) rResources := make([]string, 1000) quorum := 0 l := newLocker() ctx := t.Context() for i := range wResources { arg := dsync.LockArgs{ UID: mustGetUUID(), Resources: []string{mustGetUUID()},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/FileAuthTests.java
requestBody.put("name", "test_fileconfig"); requestBody.put("paths", "file:///example/path/"); requestBody.put("num_of_thread", 5); requestBody.put("interval_time", 1000); requestBody.put("boost", 100.0); requestBody.put("available", true); requestBody.put("sort_order", 1); checkMethodBase(requestBody).post("/api/admin/fileconfig/setting") .then()
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
defaultMap.put(FessConfig.PAGE_REQUEST_HEADER_MAX_FETCH_SIZE, "1000"); defaultMap.put(FessConfig.PAGE_SCHEDULED_JOB_MAX_FETCH_SIZE, "100"); defaultMap.put(FessConfig.PAGE_ELEVATE_WORD_MAX_FETCH_SIZE, "1000"); defaultMap.put(FessConfig.PAGE_BAD_WORD_MAX_FETCH_SIZE, "1000"); defaultMap.put(FessConfig.PAGE_DICTIONARY_MAX_FETCH_SIZE, "1000");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 525.6K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
InetAddress addr2 = InetAddress.getByName("192.168.1.101"); NetworkInterfaceInfo local = new NetworkInterfaceInfo(addr1, 1000); NetworkInterfaceInfo remote1 = new NetworkInterfaceInfo(addr1, 1000); NetworkInterfaceInfo remote2 = new NetworkInterfaceInfo(addr2, 10000); // Faster interface channel1 = new ChannelInfo("channel1", mockTransport1, local, remote1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
byte[] buffer = createBasicNegotiateResponseBuffer(); // Set SMB 3.1.1 dialect SMBUtil.writeInt2(0x0311, buffer, 4); // Set excessive negotiate context count (should be limited to 100) SMBUtil.writeInt2(1000, buffer, 6); // Set negotiate context offset to valid value SMBUtil.writeInt4(128, buffer, 60);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
SMBUtil.writeInt4(1000, buffer, 4); SMBUtil.writeInt4(500, buffer, 8); SMBUtil.writeInt4(0, buffer, 12); SMBUtil.writeInt4(0, buffer, 16); int bytesRead = response.readBytesWireFormat(buffer, 0); assertEquals(16, bytesRead); assertEquals(1000, response.getCount()); assertEquals(500, response.getRemaining()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
final long current = 1000 * systemHelper.getCurrentTimeAsLocalDateTime().atZone(ZoneId.systemDefault()).toInstant().getEpochSecond(); final long now = System.currentTimeMillis(); assertTrue(now + ">=" + current + " : " + (now - current), now >= current); assertTrue(now - 1000 + "<" + current + " : " + (current - now + 1000), now - 1000 < current); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.9K bytes - Viewed (0)