Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 914 for readFn (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Test reading when wordCount is 0
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    
            // Set wordCount to 0
            setFieldValue(response, "wordCount", 0);
    
            byte[] buffer = new byte[256];
            int bytesRead = response.readParameterWordsWireFormat(buffer, 0);
    
            // Should return 0 and not read any data
            assertEquals(0, bytesRead);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            byte[] buffer = new byte[512];
            int written = originalPacket.writeWireFormat(buffer, 0);
    
            // Read from buffer
            ByteArrayInputStream bais = new ByteArrayInputStream(buffer);
            SessionRequestPacket readPacket = new SessionRequestPacket(mockConfig);
    
            // Skip header (already read by parent class)
            bais.skip(4);
            readPacket.type = buffer[0] & 0xFF;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

        public void test_getText_extractionError_includesEncodingInMessage() {
            // Create a stream that will cause an error during reading
            final InputStream errorStream = new InputStream() {
                @Override
                public int read() throws IOException {
                    throw new IOException("Simulated read error");
                }
            };
    
            final String customEncoding = "ISO-8859-1";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Read request message.
     *
     * This command is used to read data from a file that has been
     * previously opened with a Create request.
     *
     * @author mbechler
     */
    public class Smb2ReadRequest extends ServerMessageBlock2Request<Smb2ReadResponse> implements RequestWithFileId {
    
        /**
         * Flag to indicate unbuffered read operation
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ArrayListMultimap.java

        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
        int distinctKeys = stream.readInt();
        Map<K, Collection<V>> map = new HashMap<>();
        setMap(map);
        Serialization.populateMultimap(this, stream, distinctKeys);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for {@link CharStreams#copy}.
     *
     * <p>{@link CharStreams#copy} has type specific optimizations for various common Appendable and
     * Reader implementations, this compares the performance of the different options.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[11,16] *}
    
    ## Dependencies for a group of *path operations* { #dependencies-for-a-group-of-path-operations }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java

    /**
     * A build context that matches a Maven project to a given task segment, and the session to be used.
     * <p>
     * A note to the reader;
     * </p>
     * <p>
     * There are several issues/discussions regarding how "aggregator" plugins should be handled.
     * Read for instance http://docs.codehaus.org/display/MAVEN/Deterministic+Lifecycle+Planning
     * </p>
     * <p>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         * @throws CIFSException if an error occurs retrieving the session key
         */
        byte[] getSessionKey() throws CIFSException;
    
        /**
         * Gets the input stream for reading from this pipe.
         *
         * @return this pipe's input stream
         * @throws CIFSException if an error occurs getting the input stream
         */
        @Override
        SmbPipeInputStream getInput() throws CIFSException;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	rec := httptest.NewRecorder()
    	// reading the body to preserve it so that it can be used again for second attempt of sending unsigned HTTP request.
    	// If the body is read in the handler the same request cannot be made use of.
    	buf, err := io.ReadAll(anonReq.Body)
    	if err != nil {
    		t.Fatal(failTestStr(anonTestStr, err.Error()))
    	}
    
    	// creating 2 read closer (to set as request body) from the body content.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
Back to top