- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 739 for calling (0.04 seconds)
-
src/test/java/jcifs/SmbTreeTest.java
assertEquals(customTree, typedResult, "Should maintain type safety"); } /** * Test for close() idempotency. * Verifies that calling close multiple times has the same effect as calling it once. */ @Test void testClose_idempotency() { // Mock a tree that tracks close state SmbTree idempotentTree = mock(SmbTree.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
} public void testAddAfterRun() throws Exception { // Run the previous test testRunOnPopulatedList(); // If it passed, then verify an Add will be executed without calling run CountDownLatch countDownLatch = new CountDownLatch(1); list.add(new MockRunnable(countDownLatch), newCachedThreadPool()); assertTrue(countDownLatch.await(1L, SECONDS)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CombinedFuture.java
import java.util.concurrent.Executor; import java.util.concurrent.RejectedExecutionException; import org.jspecify.annotations.Nullable; /** Aggregate future that computes its value by calling a callable. */ @GwtCompatible final class CombinedFuture<V extends @Nullable Object> extends AggregateFuture<@Nullable Object, V> { @LazyInit private @Nullable CombinedFutureInterruptibleTask<?> task;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
import jcifs.smb1.util.LogStream; /** Do not use this class. Writing to the OutputStream of this type of socket requires leaving a 4 byte prefix for the NBT header. IOW you must call write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error. */ public class NbtSocket extends Socket { private static final int SSN_SRVC_PORT = 139; private static final int BUFFER_SIZE = 512;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
parts.nextPart()!! val partMno = parts.nextPart()!! assertThat(partMno.body.readUtf8()).isEqualTo("mnop") assertThat(parts.nextPart()).isNull() } @Test fun `cannot read part after calling nextPart`() { val multipart = """ |--simple boundary | |abcd |efgh |ijkl |--simple boundary | |mnop |--simple boundary--Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 02:11:14 GMT 2025 - 15.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java
} /** * Constructs a NetBIOS session request packet. * * @param calledName the NetBIOS name of the called (destination) host * @param callingName the NetBIOS name of the calling (source) host */ public SessionRequestPacket(final Name calledName, final Name callingName) { type = SESSION_REQUEST; this.calledName = calledName; this.callingName = callingName; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
docs/sts/custom-token-identity.go
} minioClient, err := minio.New(stsEndpointURL.Host, copts) if err != nil { log.Fatalf("Error initializing client: ", err) } // Use minIO Client object normally like the regular client. fmt.Printf("Calling list objects on bucket named `%s` with temp creds:\n===\n", bucketToList) objCh := minioClient.ListObjects(context.Background(), bucketToList, minio.ListObjectsOptions{}) for obj := range objCh { if obj.Err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 27 00:58:09 GMT 2022 - 3.4K bytes - Click Count (0) -
cmd/bucket-policy-handlers_test.go
condition.NewFunctions(), ), }, } } // Wrapper for calling Create Bucket and ensure we get one and only one success. func TestCreateBucket(t *testing.T) { ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testCreateBucket, endpoints: []string{"MakeBucket"}}) } // testCreateBucket - Test for calling Create Bucket and ensure we get one and only one success.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.9K bytes - Click Count (0) -
internal/disk/stat_windows.go
// which is the total amount of space, the total amount of free space, and the total // amount of free space available to the user that is associated with the calling thread. GetDiskFreeSpaceEx = kernel32.NewProc("GetDiskFreeSpaceExW") // GetDiskFreeSpace - https://msdn.microsoft.com/en-us/library/windows/desktop/aa364935(v=vs.85).aspx
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 4.1K bytes - Click Count (0) -
cmd/object-api-deleteobject_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "crypto/md5" "encoding/hex" "strings" "testing" ) // Wrapper for calling DeleteObject tests for both Erasure multiple disks and single node setup. func TestDeleteObject(t *testing.T) { ExecObjectLayerTest(t, testDeleteObject) } // Unit test for DeleteObject in general.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 29 01:40:52 GMT 2024 - 4.1K bytes - Click Count (0)