Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 88 for eniyan (1.53 sec)

  1. 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)
  2. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            assertTrue(raf.readBoolean());
            assertEquals((byte) 0xFF, raf.readByte());
            assertEquals(0xFF, raf.readUnsignedByte());
        }
    
        @Test
        @DisplayName("readShort/UnsignedShort/Char: big-endian decoding")
        void read_twoByteVariants() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            doAnswer(inv -> {
                byte[] b = inv.getArgument(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/InetAddresses.java

        }
      }
    
      /**
       * Returns an address from a <b>little-endian ordered</b> byte array (the opposite of what {@link
       * InetAddress#getByAddress} expects).
       *
       * <p>IPv4 address byte array must be 4 bytes long and IPv6 byte array must be 16 bytes long.
       *
       * @param addr the raw IP address in little-endian byte order
       * @return an InetAddress object created from the raw IP address
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Assert
            assertEquals(4, bytesWritten);
            assertEquals(SmbComTransaction.TRANS_TRANSACT_NAMED_PIPE, dst[0]);
            assertEquals(0x00, dst[1]);
    
            // Verify FID is written correctly (little-endian)
            int writtenFid = SMBUtil.readInt2(dst, 2);
            assertEquals(TEST_FID, writtenFid);
        }
    
        @Test
        @DisplayName("Test writeDataWireFormat with sufficient buffer")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Longs.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 an 8-element byte array; equivalent to
       * {@code ByteBuffer.allocate(8).putLong(value).array()}. For example, the input value {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  6. android/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)
  7. src/archive/tar/strconv.go

    func (p *parser) parseNumeric(b []byte) int64 {
    	// Check for base-256 (binary) format first.
    	// If the first bit is set, then all following bits constitute a two's
    	// complement encoded number in big-endian byte order.
    	if len(b) > 0 && b[0]&0x80 != 0 {
    		// Handling negative numbers relies on the following identity:
    		//	-a-1 == ^a
    		//
    		// If the number is negative, we use an inversion mask to invert the
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

        private static byte[] buildHeader(int status) {
            byte[] hdr = new byte[64]; // SMB2 header is 64 bytes
            System.arraycopy(SMBUtil.SMB2_HEADER, 0, hdr, 0, 64);
            // Write Status (little-endian) at offset 8 in the SMB2 header
            SMBUtil.writeInt4(status, hdr, 8);
            // Write Command = SMB2_IOCTL (0x000B) at offset 12
            SMBUtil.writeInt2(0x000B, hdr, 12);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals((byte) 'S', SMBUtil.SMB2_HEADER[1]);
            assertEquals((byte) 'M', SMBUtil.SMB2_HEADER[2]);
            assertEquals((byte) 'B', SMBUtil.SMB2_HEADER[3]);
    
            // Verify structure size (64 in little-endian)
            assertEquals((byte) 64, SMBUtil.SMB2_HEADER[4]);
            assertEquals((byte) 0x00, SMBUtil.SMB2_HEADER[5]);
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacLogonInfoTest.java

            writeLittleEndianInt(dos, 0); // unusedChars
            writeLittleEndianInt(dos, totalChars); // usedChars
    
            // Write the actual characters (as shorts in little-endian)
            for (char c : testString.toCharArray()) {
                writeLittleEndianShort(dos, (short) c);
            }
    
            ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top