- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 103 for Dummy (0.02 sec)
-
api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java
import java.nio.file.Path; import java.util.List; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; public class JavaPathTypeTest { /** * {@return dummy paths to use in tests}. */ private static List<Path> paths() { return List.of(Path.of("src", "foo.java"), Path.of("src", "bar.java")); } /**Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 2.3K bytes - Viewed (0) -
buildscripts/heal-manual.go
package main import ( "context" "encoding/json" "fmt" "log" "os" "time" "github.com/minio/madmin-go/v3" ) func main() { // Note: YOUR-ACCESSKEYID, YOUR-SECRETACCESSKEY are // dummy values, please replace them with original values. // API requests are secure (HTTPS) if secure=true and insecure (HTTP) otherwise. // New returns an MinIO Admin client object.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 27 09:47:58 UTC 2024 - 2.3K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
// The only aim is to generate an HTTP request in a way that the relevant/registered end point is evoked/called. nilBucket := "dummy-bucket" url = getListMultipartUploadsURLWithParams("", nilBucket, "dummy-prefix", testCases[6].keyMarker, testCases[6].uploadIDMarker, testCases[6].delimiter, testCases[6].maxUploads) nilReq, err := newTestRequest(http.MethodGet, url, 0, nil)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 39.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/LruHashSet.java
private static final long serialVersionUID = 1L; /** * The internal LRU hash map used to store elements. */ private final LruHashMap<E, Object> map; // Dummy value to associate with an Object in the backing Map private static final Object PRESENT = new Object(); /** * Creates a new {@link LruHashSet} with the specified limit size. * * @param limitSizeRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
// Configure the mock to return a specific value when dec_ndr_long is called when(mockNdrBuffer.dec_ndr_long()).thenReturn(decodedValue); NdrLong ndrLong = new NdrLong(0); // Initialize with a dummy value // Call the decode method ndrLong.decode(mockNdrBuffer); // Verify that dec_ndr_long was called exactly once verify(mockNdrBuffer, times(1)).dec_ndr_long();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
cmd/bucket-policy-handlers_test.go
// Test case - 6. // setting an invalid bucket policy. // the bucket policy parser will fail. { bucketName: bucketName, bucketPolicyReader: bytes.NewReader([]byte("dummy-policy")), policyLen: len([]byte("dummy-policy")), accessKey: credentials.AccessKey, secretKey: credentials.SecretKey, expectedRespStatus: http.StatusBadRequest, }, // Test case - 7.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/SmbSessionTest.java
assertSame(tr, session.transport()); } @Test void sendResetsResponseAndForwards() throws Exception { SmbSession session = new SmbSession(addr, 445, inet, 0, auth); // prepare a dummy request/response using a real SMB block type ServerMessageBlock req = new SmbComOpenAndX("test.txt", 0, 0, null); ServerMessageBlock resp = new SmbComOpenAndX("test.txt", 0, 0, null); resp.received = true;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
throwFirst(nullErrors); } /** * Instantiates {@code cls} by invoking one of its non-private constructors or non-private static * factory methods with the parameters automatically provided using dummy values. * * @return The instantiated instance, or {@code null} if the class has no non-private constructor * or factory method to be constructed. */ <T> @Nullable T instantiate(Class<T> cls)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
/** * @throws Exception */ @Test public void testRemove() throws Exception { assertThat(map.remove("ONE"), is("1")); assertThat(map.size(), is(1)); assertThat(map.remove("dummy"), is(nullValue())); } /** * @throws Exception */ @Test public void testPutAll() throws Exception { final Map<String, String> m = new HashMap<String, String>();Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4K bytes - Viewed (0)