Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 817 for Given (0.02 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/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)
  3. cmd/hasher.go

    )
    
    // getSHA256Hash returns SHA-256 hash in hex encoding of given data.
    func getSHA256Hash(data []byte) string {
    	return hex.EncodeToString(getSHA256Sum(data))
    }
    
    // getSHA256Hash returns SHA-256 sum of given data.
    func getSHA256Sum(data []byte) []byte {
    	hash := sha256.New()
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    // getMD5Sum returns MD5 sum of given data.
    func getMD5Sum(data []byte) []byte {
    	hash := md5.New()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 27 13:00:19 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractSetMultimap.java

       * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface.
       */
      @Override
      public Set<V> get(@ParametricNullness K key) {
        return (Set<V>) super.get(key);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 4.9K 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. src/main/java/jcifs/DfsResolver.java

         * @param tf the CIFS context
         * @param domain the domain name to check
         * @return whether the given domain is trusted
         * @throws CIFSException if the operation fails
         */
        boolean isTrustedDomain(CIFSContext tf, String domain) throws CIFSException;
    
        /**
         * Get a connection to the domain controller for a given domain
         *
         * @param tf the CIFS context
         * @param domain the domain name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

      /** Constructor for use by subclasses. */
      protected UnicodeEscaper() {}
    
      /**
       * Returns the escaped form of the given Unicode code point, or {@code null} if this code point
       * does not need to be escaped. When called as part of an escaping operation, the given code point
       * is guaranteed to be in the range {@code 0 <= cp <= Character#MAX_CODE_POINT}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/escape/UnicodeEscaper.java

      /** Constructor for use by subclasses. */
      protected UnicodeEscaper() {}
    
      /**
       * Returns the escaped form of the given Unicode code point, or {@code null} if this code point
       * does not need to be escaped. When called as part of an escaping operation, the given code point
       * is guaranteed to be in the range {@code 0 <= cp <= Character#MAX_CODE_POINT}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top