Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 934 for aBytes (2.66 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            // Then
            // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 4 bytes for cancel structure
            int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 4 + 7) / 8) * 8;
            assertEquals(expectedSize, size, "Size calculation should be correct and 8-byte aligned");
        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat writes correct bytes")
        void testWriteBytesWireFormat() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private static Object reserialize(Object object) throws Exception {
        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        new ObjectOutputStream(bytes).writeObject(object);
        return new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())).readObject();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/FlowControlListener.kt

       * [WindowCounter] generally carries the client view of total and acked bytes.
       */
      fun receivingStreamWindowChanged(
        streamId: Int,
        windowCounter: WindowCounter,
        bufferSize: Long,
      )
    
      /**
       * Notification that the receiving connection flow control window has changed.
       * [WindowCounter] generally carries the client view of total and acked bytes.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/request-files.md

    ///
    
    Файлы будут загружены как данные формы.
    
    Если вы объявите тип параметра у *функции операции пути* как `bytes`, то **FastAPI** прочитает файл за вас, и вы получите его содержимое в виде `bytes`.
    
    Следует иметь в виду, что все содержимое будет храниться в памяти. Это хорошо подходит для небольших файлов.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CountingOutputStream.java

    import java.io.OutputStream;
    
    /**
     * An OutputStream that counts the number of bytes written.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class CountingOutputStream extends FilterOutputStream {
    
      private long count;
    
      /**
       * Wraps another output stream, counting the number of bytes written.
       *
       * @param out the output stream to be wrapped
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/Encdec.java

            };
        }
    
        /**
         * Encodes a String as UTF-8 bytes.
         *
         * @param str the String to encode
         * @param dst the destination byte array
         * @param di the starting index in the destination array
         * @param dlim the maximum index in the destination array
         * @return the number of bytes written
         * @throws IOException if an encoding error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

          throws IOException {
        byte[] bytes = decoded.getBytes(UTF_8);
        try (InputStream decodingStream = encoding.decodingStream(new StringReader(encoded))) {
          for (int i = 0; i < bytes.length; i++) {
            assertThat(decodingStream.read()).isEqualTo(bytes[i] & 0xFF);
          }
          assertThat(decodingStream.read()).isEqualTo(-1);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FilesTest.java

        // Test data
        int size = 1024;
        byte[] bytes = newPreFilledByteArray(size);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        // Test
        MappedByteBuffer actual = Files.map(file);
    
        // Verify
        ByteBuffer expected = ByteBuffer.wrap(bytes);
        assertTrue("ByteBuffers should be equal.", expected.equals(actual));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                // ReadChannelInfo
                assertEquals(0, SMBUtil.readInt2(buffer, 44)); // ReadChannelInfoOffset
                assertEquals(0, SMBUtil.readInt2(buffer, 46)); // ReadChannelInfoLength
    
                // Buffer byte
                assertEquals(0, buffer[48]); // One byte in buffer must be zero
    
                // Verify total bytes written
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/schema-extra-example.md

    ///
    
    /// info | Información
    
    OpenAPI 3.1.0 (usado desde FastAPI 0.99.0) añadió soporte para `examples`, que es parte del estándar de **JSON Schema**.
    
    Antes de eso, solo soportaba la palabra clave `example` con un solo ejemplo. Eso aún es soportado por OpenAPI 3.1.0, pero está obsoleto y no es parte del estándar de JSON Schema. Así que se recomienda migrar de `example` a `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