Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 103 for dummy (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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 limitSize
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/http/NtlmSspTest.java

            message[61] = 0x00;
            message[62] = 0x00;
            message[63] = 0x00;
    
            // Add dummy LM response (24 zeros at offset 64)
            for (int i = 0; i < 24; i++) {
                message[64 + i] = 0;
            }
    
            // Add dummy NT response (24 zeros at offset 88)
            for (int i = 0; i < 24; i++) {
                message[88 + i] = 0;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top