Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for dummy (0.02 sec)

  1. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

        Object dummy =
            Proxy.newProxyInstance(
                interfaceClasses.iterator().next().getClassLoader(),
                interfaceClasses.toArray(new Class<?>[interfaceClasses.size()]),
                new DummyHandler(interfaceType));
        @SuppressWarnings("unchecked") // interfaceType is T
        T result = (T) dummy;
        return result;
      }
    
      /** Returns the dummy return value for {@code returnType}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/UniAddressTest.java

        void getAddressReturnsOriginalObject() {
            InetAddress dummy = mock(InetAddress.class);
            UniAddress ua = new UniAddress(dummy);
            assertSame(dummy, ua.getAddress(), "getAddress should return the wrapped address");
        }
    
        @Test
        void getHostNameDelegatesToWrappedInetAddress() {
            InetAddress dummy = mock(InetAddress.class);
            when(dummy.getHostName()).thenReturn("host.example.com");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/DummyProxy.java

        Object dummy =
            Proxy.newProxyInstance(
                interfaceClasses.iterator().next().getClassLoader(),
                interfaceClasses.toArray(new Class<?>[interfaceClasses.size()]),
                new DummyHandler(interfaceType));
        @SuppressWarnings("unchecked") // interfaceType is T
        T result = (T) dummy;
        return result;
      }
    
      /** Returns the dummy return value for {@code returnType}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            int writeSetupWireFormat(byte[] dst, int dstIndex) {
                // Dummy implementation for testing
                return 0;
            }
    
            @Override
            int readSetupWireFormat(byte[] buffer, int bufferIndex, int len) {
                return 0;
            }
    
            @Override
            int writeParametersWireFormat(byte[] dst, int dstIndex) {
                // Dummy implementation for testing
                return 0;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      private static class StrongKeyDummyValueEntry<K>
          extends AbstractStrongKeyEntry<K, Dummy, StrongKeyDummyValueEntry<K>>
          implements StrongValueEntry<K, Dummy, StrongKeyDummyValueEntry<K>> {
    
        private StrongKeyDummyValueEntry(K key, int hash) {
          super(key, hash);
        }
    
        @Override
        public final Dummy getValue() {
          return Dummy.VALUE;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        /** Lightweight concrete implementation used only for testing. */
        private static class Dummy extends NtlmMessage {
            @Override
            public byte[] toByteArray() {
                return new byte[0];
            }
        }
    
        private Dummy msg;
    
        @BeforeEach
        void setUp() {
            msg = new Dummy();
        }
    
        // ---------------- Flag manipulation tests -----------------
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            Key key = new KerberosKey(null, secretKey.getEncoded(), KerberosConstants.DES_ENC_TYPE, 0);
            byte[] data = new byte[32]; // Dummy data, must be multiple of 8
            byte[] decrypted = KerberosEncData.decrypt(data, key, KerberosConstants.DES_ENC_TYPE);
            assertNotNull(decrypted);
            // With dummy data, we can't verify the content, just that it decrypts without error
            // and returns a result of the expected size.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

             * @param text  the text to normalize
             * @param field the field to use for normalization
             * @param dummy additional parameters (not used)
             * @return the normalized text
             */
            @Override
            public String normalize(final String text, final String field, final String... dummy) {
                final AnalyzeAction.Response termResponse = client.admin()
                        .indices()
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. cmd/object-handlers_test.go

    	// Indicating that all parts are uploaded and initiating CompleteMultipartUpload.
    	nilBucket := "dummy-bucket"
    	nilObject := "dummy-object"
    
    	nilReq, err := newTestSignedRequestV4(http.MethodPost, getCompleteMultipartUploadURL("", nilBucket, nilObject, "dummy-uploadID"),
    		0, nil, "", "", nil)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbResourceLocatorTest.java

                    throw new IllegalArgumentException("URL string must not be null");
                }
                if (!urlStr.startsWith("smb://")) {
                    throw new MalformedURLException("Only SMB URLs are supported in the dummy implementation");
                }
                this.urlStr = urlStr;
    
                // Parse SMB URL manually
                String remaining = urlStr.substring(6); // Remove "smb://"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top