- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 276 for 1000KB (0.03 seconds)
-
guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java
* * @author Louis Wasserman */ @NullUnmarked public class ComparatorDelegationOverheadBenchmark { private final Integer[][] inputArrays = new Integer[0x100][]; @Param({"10000"}) int n; @BeforeExperiment void setUp() throws Exception { Random rng = new Random(); for (int i = 0; i < 0x100; i++) { Integer[] array = new Integer[n]; for (int j = 0; j < n; j++) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
return 0L; // Persistent handles use 0 } // Convert milliseconds to 100-nanosecond intervals // 1 ms = 10,000 * 100ns intervals long intervals = timeoutMs * 10000L; // MS-SMB2 timeout field is 4 bytes (uint32), so clamp to max value return Math.min(intervals, 0xFFFFFFFFL); } /** * Get the flags * @return the flags */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
assertEquals(2000L * 4 * 1024, fileFsFullSizeInfo.getCapacity()); assertEquals(2000L * 4 * 1024, fileFsFullSizeInfo.getCapacity()); assertEquals(1000L * 4 * 1024, fileFsFullSizeInfo.getFree()); assertEquals(1000L * 4 * 1024, fileFsFullSizeInfo.getFree()); } @Test @DisplayName("Should update state on subsequent decode calls")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
assertFalse(loopback.isUsableForChannel()); } @Test void testGetScore() { NetworkInterfaceInfo basic = new NetworkInterfaceInfo(testAddress, 1000); assertEquals(1000, basic.getScore()); // Base score is link speed NetworkInterfaceInfo fast = new NetworkInterfaceInfo(testAddress, 10000); assertTrue(fast.getScore() > basic.getScore()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 4.9K bytes - Click Count (0) -
docs/sts/web-identity.go
ClientID: clientID, ClientSecret: clientSec, Endpoint: oauth2.Endpoint{ AuthURL: ddoc.AuthEndpoint, TokenURL: ddoc.TokenEndpoint, }, RedirectURL: fmt.Sprintf("http://10.0.0.67:%d/oauth2/callback", port), Scopes: scopes, } state := randomState() http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { log.Printf("%s %s", r.Method, r.RequestURI)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 19 09:13:33 GMT 2023 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/EmptyIteratorTest.java
long endTime = System.currentTimeMillis(); long duration = endTime - startTime; // Then - should complete quickly (this is more of a performance indicator) assertTrue(duration < 1000, "Creating and using 10000 EmptyIterators should be fast (took " + duration + "ms)"); } @Test @DisplayName("EmptyIterator should work correctly in nested iteration") void testNestedIteration() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
cmd/net_test.go
// Non parsable ip is assumed to be hostname, with a mixed input of ip and hostname. // gets preserved and moved into left most elements, regardless of // IP based sorting. { ipList: []string{"hostname1", "10.0.0.13", "hostname2", "127.0.0.1", "192.168.1.106"}, sortedIPList: []string{"hostname1", "hostname2", "192.168.1.106", "10.0.0.13", "127.0.0.1"}, }, // With same higher octets, preferentially move the localhost. {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.2K bytes - Click Count (0) -
internal/store/queuestore.go
"sort" "sync" "time" "github.com/google/uuid" jsoniter "github.com/json-iterator/go" "github.com/klauspost/compress/s2" "github.com/valyala/bytebufferpool" ) const ( defaultLimit = 100000 // Default store limit. defaultExt = ".unknown" compressExt = ".snappy" ) // errLimitExceeded error is sent when the maximum limit is reached. var errLimitExceeded = errors.New("the maximum store limit reached")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
internal/pubsub/pubsub.go
atomic.AddInt32(&ps.numSubscribers, -1) return fmt.Errorf("the limit of `%d` subscribers is reached", ps.maxSubscribers) } ps.Lock() defer ps.Unlock() subChT := make(chan T, 10000) sub := &Sub[T]{ch: subChT, types: Mask(mask.Mask()), filter: filter} ps.subs = append(ps.subs, sub) // We hold a lock, so we are safe to update combined := Mask(atomic.LoadUint64(&ps.types))
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 06 16:57:30 GMT 2024 - 5.2K bytes - Click Count (0)