Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,089 for given (0.03 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

         * @throws IOException if ASN.1 encoding fails.
         * @throws PACDecodingException if PAC decoding fails.
         */
        @Test
        void testConstructor_ValidToken() throws IOException, PACDecodingException {
            // 1. GIVEN
            // Create a mock KerberosAuthData to be returned by the mocked parse method
            KerberosAuthData mockAuthData = mock(KerberosAuthData.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

         * It verifies that a new DfsReferral object is initialized with its 'next'
         * property pointing to itself.
         */
        @Test
        void testDefaultConstructor() {
            // Given
            DfsReferral referral = new DfsReferral();
    
            // When / Then
            assertNotNull(referral, "The DfsReferral object should not be null.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/StringsTest.java

        @DisplayName("OEM Encoding Tests")
        class OEMEncodingTests {
    
            @Test
            @DisplayName("getOEMBytes should use configuration encoding")
            void testGetOEMBytes() {
                // Given
                Configuration mockConfig = mock(Configuration.class);
                when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/LinearTransformation.java

       * itself. In all other cases, the inverse is a transformation such that applying both the
       * original transformation and its inverse to a value gives you the original value give-or-take
       * numerical errors. Calling this method multiple times on the same instance will always return
       * the same instance. Calling this method on the result of calling this method on an instance will
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/ByteStreams.java

      }
    
      /**
       * Returns a new {@link ByteArrayDataOutput} instance which writes to the given {@code
       * ByteArrayOutputStream}. The given output stream is not reset before being written to by the
       * returned {@code ByteArrayDataOutput} and new data will be appended to any existing content.
       *
       * <p>Note that if the given output stream was not empty or is modified after the {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Resources.java

        }
    
        @Override
        public String toString() {
          return "Resources.asByteSource(" + url + ")";
        }
      }
    
      /**
       * Returns a {@link CharSource} that reads from the given URL using the given character set.
       *
       * @since 14.0
       */
      public static CharSource asCharSource(URL url, Charset charset) {
        return asByteSource(url).asCharSource(charset);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

        }
    
        /**
         * Test that concurrent tree operations are thread-safe with CopyOnWriteArrayList.
         */
        @Test
        public void testConcurrentTreeOperationsThreadSafe() throws Exception {
            // Given
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            int threadCount = 10;
            int opsPerThread = 100;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

            assertEquals(0, trans2SetFileInformation.maxDataCount);
            assertEquals(0, trans2SetFileInformation.maxSetupCount);
        }
    
        @Test
        void testWriteSetupWireFormat() {
            // Given
            byte[] dst = new byte[2];
    
            // When
            int result = trans2SetFileInformation.writeSetupWireFormat(dst, 0);
    
            // Then
            assertEquals(2, result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolder.java

     * authentication based on a given path.
     *
     * <p>This class manages a collection of {@link SmbAuthentication} objects, each associated
     * with a specific path prefix. When a path is provided, it iterates through the stored
     * authentications to find the one whose path prefix matches the beginning of the given path.
     * This allows for different SMB shares to use different authentication credentials.</p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/Hashing.java

       * MD5 (128 hash bits) hash function and the given secret key.
       *
       * <p>If you are designing a new system that needs HMAC, prefer {@link #hmacSha256} or other
       * future-proof algorithms <a
       * href="https://datatracker.ietf.org/doc/html/rfc6151#section-2.3">over {@code hmacMd5}</a>.
       *
       * @param key the secret key
       * @throws IllegalArgumentException if the given key is inappropriate for initializing this MAC
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
Back to top