Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for Dummy (0.07 sec)

  1. 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)
  2. 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)
  3. guava-gwt/src/com/google/common/DummyJavadocClass.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common;
    
    /**
     * A dummy class so that the Maven Javadoc plugin will produce a jar. If it doesn't produce a jar,
     * then the Sonatype repository manager issues an error.
     *
     * @author Chris Povirk
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jan 07 19:38:21 UTC 2020
    - 848 bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      /**
       * Not supported. <b>You are attempting to create a multiset that may contain a non-{@code
       * Comparable} element.</b> Proper calls will resolve to the version in {@code
       * ImmutableSortedMultiset}, not this dummy version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link
       *     ImmutableSortedMultiset#of(Comparable)}.</b>
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/BaseImmutableMultimap.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A dummy superclass of {@link ImmutableMultimap} that can be instanceof'd without ProGuard
     * retaining additional implementation details of {@link ImmutableMultimap}.
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 960 bytes
    - Viewed (0)
  6. 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)
  7. guava-gwt/test/com/google/common/GuavaTestsEntryPoint.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common;
    
    import com.google.gwt.core.client.EntryPoint;
    
    /**
     * A dummy entry point for our tests.
     *
     * @author Chris Povirk
     */
    public class GuavaTestsEntryPoint implements EntryPoint {
      @Override
      public void onModuleLoad() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 854 bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                return new ByteArrayInputStream(new byte[100]); // dummy payload
            }
        }
    
        @Test
        public void test_TmpFileHasBeenDeletedAfterResponseWasClosed() throws Exception {
            // ## Arrange ##
            CurlRequest req = new MockCurlRequest(Curl.Method.POST, "http://dummy");
            req.threshold(0); // always create tmp file
    
            // ## Act ##
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top