- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 1,050 for smart (0.02 sec)
-
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
import java.util.concurrent.Future; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Basher test for {@link ConcurrentHashMultiset}: start a bunch of threads, have each of them do * operations at random. Each thread keeps track of the per-key deltas that it's directly * responsible for; after all threads have completed, we sum the per-key deltas and compare to the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
AvTimestamp timestamp = new AvTimestamp(new byte[8]); pairs.add(flags1); pairs.add(timestamp); pairs.add(flags2); assertEquals(3, pairs.size(), "Should start with 3 pairs"); AvPairs.remove(pairs, AvPair.MsvAvFlags); assertEquals(1, pairs.size(), "Should have 1 pair after removal");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
cmd/bucket-policy-handlers_test.go
credentials auth.Credentials, t *testing.T, ) { bucketName1 := fmt.Sprintf("%s-1", bucketName) const n = 100 start := make(chan struct{}) var ok, errs int var wg sync.WaitGroup var mu sync.Mutex wg.Add(n) for range n { go func() { defer wg.Done() // Sync start. <-start if err := obj.MakeBucket(GlobalContext, bucketName1, MakeBucketOptions{}); err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
assertEquals(4, response.lastNameOffset); } @Test void testReadDataWireFormat() { response.numEntries = 1; response.lastNameOffset = 94; // Pointing to the start of the filename response.useUnicode = false; // Use OEM for simplicity byte[] buffer = new byte[120]; int bufferIndex = 0; // Entry 1
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
// https://github.com/square/okhttp/issues/4729 platform.expectFailureOnConscryptPlatform() platform.expectFailureOnCorrettoPlatform() platform.expectFailureOnLoomPlatform() // Start with a trusted root CA certificate. val rootCa = HeldCertificate .Builder() .serialNumber(1L) .certificateAuthority(1) .commonName("root") .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 24.3K bytes - Viewed (1) -
src/main/java/jcifs/util/Encdec.java
* @param dlim the maximum index in the destination array * @return the number of bytes written */ public static int enc_utf8(final String str, final byte[] dst, int di, final int dlim) { final int start = di; int ch; final int strlen = str.length(); for (int i = 0; di < dlim && i < strlen; i++) { ch = str.charAt(i); if (ch >= 0x0001 && ch <= 0x007F) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
* * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; if (log.isDebugEnabled()) { log.debug("Opening " + this.name); log.debug("Flags are " + Hexdump.toHexString(getFlags(), 4)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
doc/go_mem.html
<code>q</code>'s <code>init</code> functions happens before the start of any of <code>p</code>'s. </p> <p class="rule"> The completion of all <code>init</code> functions is synchronized before the start of the function <code>main.main</code>. </p> <h3 id="go">Goroutine creation</h3> <p class="rule"> The <code>go</code> statement that starts a new goroutine is synchronized before the start of the goroutine's execution. </p>
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 05 15:41:37 UTC 2025 - 26.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
}; thread.setUncaughtExceptionHandler( new UncaughtExceptionHandler() { @Override public void uncaughtException(Thread t, Throwable e) {} }); thread.start(); boolean done = doneSignal.await(1, SECONDS); if (!done) { StringBuilder builder = new StringBuilder(); for (StackTraceElement trace : thread.getStackTrace()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
private @Nullable Throwable uncaughtThrowable = null; public TestThread(L lockLikeObject, String threadName) { super(threadName); this.lockLikeObject = checkNotNull(lockLikeObject); start(); } // Thread.stop() is okay because all threads started by a test are dying at the end of the test, // so there is no object state put at risk by stopping the threads abruptly. In some cases a test
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0)