Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,004 for Pread (1.04 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

        }
    
        @Test
        void testReadParameterWordsWireFormat() {
            byte[] buffer = new byte[1024];
            int result = response.readParameterWordsWireFormat(buffer, 0);
    
            // The method should read parameter words
            assertTrue(result >= 0, "readParameterWordsWireFormat should return non-negative value");
        }
    
        @Test
        void testWriteBytesWireFormat() {
            byte[] dst = new byte[1024];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

                SMBUtil.writeInt2(4, buffer, start);
                Smb2LogoffResponse resp = newResponse();
    
                // Act
                int read = resp.readBytesWireFormat(buffer, start);
    
                // Assert
                assertEquals(4, read, "Should return the fixed structure size (4)");
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 7 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.services.Source;
    
    /**
     * The {@code ModelParser} interface is used to locate and read {@link Model}s from the file system.
     * This allows plugging in additional syntaxes for the main model read by Maven when building a project.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    @Named
    public interface ModelParser extends SpiService {
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Sep 10 17:18:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/bytes/reader.go

    // The result is unaffected by any method calls except [Reader.Reset].
    func (r *Reader) Size() int64 { return int64(len(r.s)) }
    
    // Read implements the [io.Reader] interface.
    func (r *Reader) Read(b []byte) (n int, err error) {
    	if r.i >= int64(len(r.s)) {
    		return 0, io.EOF
    	}
    	r.prevRune = -1
    	n = copy(b, r.s[r.i:])
    	r.i += int64(n)
    	return
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/index.md

    If something seems interesting and useful to your project, go ahead and check it, but otherwise, you might probably just skip them.
    
    /// tip
    
    If you want to **learn FastAPI** in a structured way (recommended), go and read the [Tutorial - User Guide](../tutorial/index.md){.internal-link target=_blank} chapter by chapter instead.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 612 bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

        }
      }
    
      /**
       * We had a bug where a custom `ResponseBody` interacted poorly with `Response.trailers()`.
       * Confirm custom trailers can be read without even accessing the response body.
       */
      @Test
      fun customTrailersDoNotUseResponseBody() {
        val response =
          Response
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // When & Then - Will throw SMBProtocolDecodingException when trying to read beyond buffer
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
        }
    
        @DisplayName("Should read at different offsets correctly")
        @ParameterizedTest
        @ValueSource(ints = { 0, 10, 50, 100, 200 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            assertEquals(TransPeekNamedPipeResponse.STATUS_LISTENING, response.getStatus());
            // Middle bytes were read but not used
        }
    
        @Test
        @DisplayName("Test consecutive reads update state correctly")
        void testConsecutiveReads() {
            // First read
            byte[] buffer1 = new byte[10];
            SMBUtil.writeInt2(100, buffer1, 0);
            SMBUtil.writeInt2(0, buffer1, 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            }
    
            return ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(template, paramMap);
        }
    
        /**
         * Get the read interval.
         * @param paramMap The parameters.
         * @return The read interval.
         */
        protected long getReadInterval(final DataStoreParams paramMap) {
            long readInterval = 0;
            final String value = paramMap.getAsString("readInterval");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. docs/config/README.md

    ### Certificate Directory
    
    TLS certificates by default are expected to be stored under ``${HOME}/.minio/certs`` directory. You need to place certificates here to enable `HTTPS` based access. Read more about [How to secure access to MinIO server with TLS](https://docs.min.io/community/minio-object-store/operations/network-encryption.html).
    
    Following is a sample directory structure for MinIO server with TLS certificates.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.1K bytes
    - Viewed (1)
Back to top