Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 740 for maximal (0.08 seconds)

  1. android/guava/src/com/google/common/io/ByteStreams.java

        return NULL_OUTPUT_STREAM;
      }
    
      /**
       * Wraps a {@link InputStream}, limiting the number of bytes which can be read.
       *
       * @param in the input stream to be wrapped
       * @param limit the maximum number of bytes to be read
       * @return a length-limited {@link InputStream}
       * @since 14.0 (since 1.0 as com.google.common.io.LimitInputStream)
       */
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Streams.java

        @ParametricNullness
        R apply(@ParametricNullness T from, long index);
      }
    
      /*
       * @IgnoreJRERequirement should be redundant with the one on Streams itself, but it's necessary as
       * of Animal Sniffer 1.24. Maybe Animal Sniffer processes this nested class before it processes
       * Streams and thus hasn't had a chance to see Streams's annotation?
       */
      @IgnoreJRERequirement
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

         * Sets the close timeout for web socket connections. A value of 0 means no timeout, otherwise
         * values must be between 1 and [Integer.MAX_VALUE] when converted to milliseconds.
         *
         * The close timeout is the maximum amount of time after the client calls [WebSocket.close] to
         * wait for a graceful shutdown. If the server doesn't respond the web socket will be canceled.
         * The default value is 60 seconds.
         */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 51.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertEquals(-1, empty.read());
      }
    
      private static InputStream newTestStream(int n) {
        return new ByteArrayInputStream(newPreFilledByteArray(n));
      }
    
      /** Stream that will skip a maximum number of bytes at a time. */
      private static class SlowSkipper extends FilterInputStream {
        private final long max;
    
        SlowSkipper(InputStream in, long max) {
          super(in);
          this.max = max;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
  5. src/main/java/jcifs/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
         */
        public static int enc_utf8(final String str, final byte[] dst, int di, final int dlim) {
            final int start = di;
            int ch;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  6. docs/de/docs/help-fastapi.md

    In vielen Fällen wird nur ein Fragment des Codes gepostet, aber das reicht nicht aus, um **das Problem zu reproduzieren**.
    
    * Sie können die Person bitten, ein [minimales, reproduzierbares Beispiel](https://stackoverflow.com/help/minimal-reproducible-example) bereitzustellen, welches Sie **kopieren, einfügen** und lokal ausführen können, um den gleichen Fehler oder das gleiche Verhalten zu sehen, das die Person sieht, oder um ihren Anwendungsfall besser zu verstehen.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertNotNull(response.getNotifyInformation());
            assertTrue(response.getNotifyInformation().isEmpty());
        }
    
        @Test
        @DisplayName("Should handle maximum buffer size")
        void testMaximumBufferSize() throws Exception {
            // Given - large buffer with many notifications
            byte[] buffer = new byte[65536];
            int offset = 0;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Then - Tree flags should be initialized to 0
            int flags = (int) treeFlagsField.get(req);
            assertEquals(0, flags);
        }
    
        @Test
        @DisplayName("Should handle maximum path length")
        void testMaximumPathLength() throws Exception {
            // Given - Create a very long path
            StringBuilder longPathBuilder = new StringBuilder("\\\\server\\");
            for (int i = 0; i < 1000; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum path length")
            void testMaximumPathLength() {
                // Create a very long path (but not too long to cause memory issues)
                StringBuilder sb = new StringBuilder("\\\\server");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        @DisplayName("Test buffer boundary conditions")
        void testBufferBoundaryConditions() {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            // Test with minimal buffer size
            byte[] minBuffer = new byte[2];
            int written = trans2QueryFSInfo.writeSetupWireFormat(minBuffer, 0);
            assertEquals(2, written);
    
            // Test with exact parameter size
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
Back to Top