Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 83 for eniyan (0.06 sec)

  1. src/main/java/jcifs/pac/PacMac.java

            Mac mac = Mac.getInstance("HmacMD5");
            MessageDigest md = MessageDigest.getInstance("MD5");
            mac.init(key);
            byte[] dk = mac.doFinal(MD5_CONSTANT);
            try {
                // little endian
                md.update((byte) (ms_usage & 0xFF));
                md.update((byte) (ms_usage >> 8 & 0xFF));
                md.update((byte) (ms_usage >> 16 & 0xFF));
                md.update((byte) (ms_usage >> 24 & 0xFF));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/body.md

    Tu API casi siempre tiene que enviar un **response** body. Pero los clientes no necesariamente necesitan enviar **request bodies** todo el tiempo, a veces solo solicitan un path, quizás con algunos parámetros de query, pero no envían un body.
    
    Para declarar un **request** body, usas modelos de <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> con todo su poder y beneficios.
    
    /// info | Información
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

        void testReadParametersWireFormat() throws Exception {
            byte[] buffer = new byte[100];
            int expectedLength = 0x12345678;
    
            // Write length in little-endian format
            SMBUtil.writeInt4(expectedLength, buffer, 0);
    
            int result = response.readParametersWireFormat(buffer, 0, buffer.length);
    
            assertEquals(4, result);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Chars.java

        checkArgument(
            result == (int) result,
            "the total number of elements (%s) in the arrays must fit in an int",
            result);
        return (int) result;
      }
    
      /**
       * Returns a big-endian representation of {@code value} in a 2-element byte array; equivalent to
       * {@code ByteBuffer.allocate(2).putChar(value).array()}. For example, the input value {@code
       * '\\u5432'} would yield the byte array {@code {0x54, 0x32}}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

            System.arraycopy(label, 0, suffix, 0, label.length);
            // + 1 byte 0x00
            // + context
            System.arraycopy(context, 0, suffix, label.length + 1, context.length);
            // + 4 byte (== r bits) big endian encoding of L
            suffix[suffix.length - 1] = (byte) 128;
    
            final DerivationParameters param = new KDFCounterParameters(sessionKey, null /* prefix */, suffix /* suffix */, r /* r */);
            gen.init(param);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            assertTrue(infoString.contains("bytesPerSect=512"), "toString should contain bytesPerSect");
        }
    
        // Helper methods to write numbers to byte array in little-endian format.
        private void writeInt2(int val, byte[] dst, int dstIndex) {
            dst[dstIndex++] = (byte) val;
            dst[dstIndex++] = (byte) (val >> 8);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            Type1Message type1 = new Type1Message(mockContext);
            byte[] messageBytes = type1.toByteArray();
    
            // Then
            assertTrue(messageBytes.length >= 12);
            // Message type should be 1 (little endian)
            assertEquals(1, messageBytes[8] & 0xFF);
            assertEquals(0, messageBytes[9] & 0xFF);
            assertEquals(0, messageBytes[10] & 0xFF);
            assertEquals(0, messageBytes[11] & 0xFF);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashCodeTest.java

    /**
     * Unit tests for {@link HashCode}.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class HashCodeTest extends TestCase {
      // note: asInt(), asLong() are in little endian
      private static final ImmutableList<ExpectedHashCode> expectedHashCodes =
          ImmutableList.of(
              new ExpectedHashCode(
                  new byte[] {
                    (byte) 0xef, (byte) 0xcd, (byte) 0xab, (byte) 0x89,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(4, bytesWritten, "Should write 4 bytes");
            // Check that structure size (4) is written as 2-byte little-endian
            assertEquals(4, buffer[offset] | (buffer[offset + 1] << 8), "Structure size should be 4");
            assertEquals(0, buffer[offset + 2], "Reserved bytes should be 0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/schema-extra-example.md

    ### Swagger UI y `examples` específicos de OpenAPI
    
    Ahora, como Swagger UI no soportaba múltiples ejemplos de JSON Schema (a fecha de 2023-08-26), los usuarios no tenían una forma de mostrar múltiples ejemplos en los documentos.
    
    Para resolver eso, FastAPI `0.103.0` **añadió soporte** para declarar el mismo viejo campo **específico de OpenAPI** `examples` con el nuevo parámetro `openapi_examples`. 🤓
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top