Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 377 for 24 (0.64 sec)

  1. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
    
            // Update with partial data
            digest.update(data, 2, 4); // Only update with bytes at index 2-5
            byte[] result = digest.digest();
    
            assertNotNull(result);
            assertTrue(result.length > 0);
        }
    
        // Helper method to setup transport mocks
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/security/http-basic-auth.md

    Luego podemos usar `secrets.compare_digest()` para asegurar que `credentials.username` es `"stanleyjobson"`, y que `credentials.password` es `"swordfish"`.
    
    {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *}
    
    Esto sería similar a:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # Devuelve algún error
        ...
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            dnsDomainInfo.dns_forest = new rpc.unicode_string();
            dnsDomainInfo.dns_forest.length = 12;
            dnsDomainInfo.dns_forest.maximum_length = 24;
            dnsDomainInfo.dns_forest.buffer = new short[] { 'f', 'o', 'r', 'e', 's', 't' };
    
            dnsDomainInfo.domain_guid = new rpc.uuid_t();
            dnsDomainInfo.domain_guid.time_low = 0x12345678;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. api/go1.1.txt

    pkg syscall (freebsd-amd64), const SizeofBpfZbuf = 24
    pkg syscall (freebsd-amd64), const SizeofBpfZbufHeader = 32
    pkg syscall (freebsd-amd64), const SizeofCmsghdr = 12
    pkg syscall (freebsd-amd64), const SizeofIPMreq = 8
    pkg syscall (freebsd-amd64), const SizeofIPMreqn = 12
    pkg syscall (freebsd-amd64), const SizeofIPv6Mreq = 20
    pkg syscall (freebsd-amd64), const SizeofIfAnnounceMsghdr = 24
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
  5. docs/en/docs/advanced/security/http-basic-auth.md

    Then we can use `secrets.compare_digest()` to ensure that `credentials.username` is `"stanleyjobson"`, and that `credentials.password` is `"swordfish"`.
    
    {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *}
    
    This would be similar to:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # Return some error
        ...
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/security/http-basic-auth.md

    Dann können wir `secrets.compare_digest()` verwenden, um sicherzustellen, dass `credentials.username` `"stanleyjobson"` und `credentials.password` `"swordfish"` ist.
    
    {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *}
    
    Dies wäre das gleiche wie:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # Einen Error zurückgeben
        ...
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            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.
            assertEquals(data.length - 24, decrypted.length);
        }
    
        /**
         * Test decrypt with an unsupported encryption type.
         */
        @Test
        void testDecryptUnsupportedType() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            testBuffer[20] = 0x01; // revision
            testBuffer[21] = 0x03; // sub-authority count
            testBuffer[22] = 0x00; // identifier authority
            testBuffer[23] = 0x00;
            testBuffer[24] = 0x00;
            testBuffer[25] = 0x00;
            testBuffer[26] = 0x00;
            testBuffer[27] = 0x05;
            SMBUtil.writeInt4(21, testBuffer, 28); // sub-authority 1
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // Setup mock behavior
            when(mockIn.read(any(byte[].class))).thenReturn(7);
    
            // Act
            byte[] buf = new byte[16];
            byte[] recv = new byte[16];
            int r = spyHandle.sendrecv(buf, 2, 4, recv, 16);
    
            // Assert
            assertEquals(7, r);
            verify(mockOut).write(eq(buf), eq(2), eq(4));
            verify(mockIn).read(eq(recv));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

        private static final long ONE_SECOND = 1000L;
    
        private static final long ONE_MINUTE = 60 * ONE_SECOND;
    
        private static final long ONE_HOUR = 60 * ONE_MINUTE;
    
        private static final long ONE_DAY = 24 * ONE_HOUR;
        // CHECKSTYLE_ON: MagicNumber
    
        public static final String BUILD_VERSION_PROPERTY = "version";
    
        public static String showVersion() {
            return showVersion(null, null);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Feb 10 15:02:53 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top