Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for putEnv (0.89 sec)

  1. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            final Hashtable<String, String> env = new Hashtable<>();
            putEnv(env, Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);
            putEnv(env, Context.SECURITY_AUTHENTICATION, securityAuthentication);
            putEnv(env, Context.PROVIDER_URL, providerUrl);
            putEnv(env, Context.SECURITY_PRINCIPAL, principal);
            putEnv(env, Context.SECURITY_CREDENTIALS, credntials);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                buffer.putLong(1048576L); // Total allocation units (1M)
                buffer.putLong(524288L); // Free allocation units (512K)
                buffer.putInt(8); // Sectors per allocation unit
                buffer.putInt(512); // Bytes per sector
                byte[] bufferArray = buffer.array();
    
                // When
                int bytesConsumed = fileFsSizeInfo.decode(bufferArray, 0, bufferArray.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                buffer.putLong(524288L); // Caller available allocation units (512K)
                buffer.putLong(524288L); // Actual free allocation units (512K)
                buffer.putInt(8); // Sectors per allocation unit
                buffer.putInt(512); // Bytes per sector
                byte[] bufferArray = buffer.array();
    
                // When
                int bytesConsumed = fileFsFullSizeInfo.decode(bufferArray, 0, bufferArray.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            buffer.order(ByteOrder.LITTLE_ENDIAN);
    
            // Create notification with non-aligned nextEntryOffset
            buffer.putInt(3); // Non-aligned nextEntryOffset (not divisible by 4)
            buffer.putInt(FileNotifyInformation.FILE_ACTION_ADDED);
            buffer.putInt(8); // File name length
            buffer.put("test.txt".getBytes("UTF-16LE"));
    
            assertThrows(SMBProtocolDecodingException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            buffer.putInt(0, 0x12345678);
            assertEquals(0x12345678, NtlmMessage.readULong(data, 0), "Should read positive ULong correctly.");
    
            // Test with zero
            buffer.putInt(0, 0);
            assertEquals(0, NtlmMessage.readULong(data, 0), "Should read zero ULong correctly.");
    
            // Test with max int value (unsigned interpretation)
            buffer.putInt(0, 0xFFFFFFFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            buffer.put((byte) 0x00); // Padding
            buffer.putShort((short) 0x8004); // Control flags (SE_DACL_PRESENT | SE_SELF_RELATIVE)
            buffer.putInt(20); // Owner offset
            buffer.putInt(40); // Group offset
            buffer.putInt(0); // SACL offset (null)
            buffer.putInt(60); // DACL offset
    
            // Owner SID at offset 20
            buffer.position(20);
            buffer.put((byte) 0x01); // Revision
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            buffer.putShort((short) 50); // maxMpxCount
            buffer.putShort((short) 10); // maxNumberVcs
            buffer.putInt(8192); // maxBufferSize
            buffer.putInt(65536); // maxRawSize
            buffer.putInt(123456789); // sessionKey
            buffer.putInt(SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS); // capabilities
            buffer.putLong(new Date().getTime()); // serverTime
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            // Next field (4 bytes) - offset to next entry (0 for last entry)
            bb.putInt(0);
    
            // InterfaceIndex (4 bytes)
            bb.putInt(interfaceIndex);
    
            // Capability (4 bytes)
            bb.putInt(capability);
    
            // Reserved (4 bytes) - must be 0
            bb.putInt(0);
    
            // LinkSpeed (8 bytes) - in bits per second
            bb.putLong((long) linkSpeed * 1000000L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hasher.java

      Hasher putBytes(ByteBuffer bytes);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putShort(short s);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putInt(int i);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putLong(long l);
    
      /** Equivalent to {@code putInt(Float.floatToRawIntBits(f))}. */
      @CanIgnoreReturnValue
      @Override
      Hasher putFloat(float f);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/AbstractHasher.java

      @CanIgnoreReturnValue
      public final Hasher putDouble(double d) {
        return putLong(Double.doubleToRawLongBits(d));
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putFloat(float f) {
        return putInt(Float.floatToRawIntBits(f));
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putUnencodedChars(CharSequence charSequence) {
        for (int i = 0, len = charSequence.length(); i < len; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top