Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 583 for reading2 (0.04 sec)

  1. src/cmd/addr2line/addr2line_test.go

    	for scanner.Scan() {
    		f := strings.Fields(scanner.Text())
    		if len(f) < 3 {
    			continue
    		}
    		syms[f[2]] = f[0]
    	}
    	if err := scanner.Err(); err != nil {
    		t.Fatalf("error reading symbols: %v", err)
    	}
    	return syms
    }
    
    func runAddr2Line(t *testing.T, dbgExePath, addr string) (funcname, path, lineno string) {
    	cmd := testenv.Command(t, testenv.Executable(t), dbgExePath)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            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")
        void testWriteDataWireFormatSufficientBuffer() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/Pac.java

                int bufferCount = pacStream.readInt();
                int version = pacStream.readInt();
    
                if (version != PacConstants.PAC_VERSION) {
                    throw new PACDecodingException("Unrecognized PAC version " + version);
                }
    
                for (int bufferIndex = 0; bufferIndex < bufferCount; bufferIndex++) {
                    int bufferType = pacStream.readInt();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java

         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 4) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            return bufferIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

        }
    
        @Test
        public void testReadParameterWordsUpdatesCount() {
            // create a buffer with count = 0x1234 (4660 decimal)
            // Using little-endian byte order as per SMBUtil.readInt2
            byte[] buf = new byte[12];
            buf[0] = 0x34; // Low byte
            buf[1] = 0x12; // High byte
            int written = resp.readParameterWordsWireFormat(buf, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

                throw new SMBProtocolDecodingException("Invalid durable handle V2 response length: " + len);
            }
    
            this.timeout100Ns = SMBUtil.readInt4(buffer, bufferIndex) & 0xFFFFFFFFL; // Timeout (4 bytes, 100-ns intervals, unsigned)
            this.flags = SMBUtil.readInt4(buffer, bufferIndex + 4); // Flags (4 bytes)
            return 8;
        }
    
        /**
         * Get the timeout value in 100-nanosecond intervals (raw wire format)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderException.java

     * under the License.
     */
    package org.apache.maven.api.services.xml;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.MavenException;
    
    /**
     * An exception thrown while reading an XML file.
     *
     * @since 4.0.0
     */
    @Experimental
    public class XmlReaderException extends MavenException {
    
        private final Location location;
    
        /**
         * @param message the message for the exception
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbPipeHandle.java

        /**
         * Gets the pipe resource associated with this handle.
         *
         * @return the pipe
         */
        SmbPipeResource getPipe();
    
        /**
         * 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
         */
        InputStream getInput() throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            int bytesEncoded = fileInternalInfo.encode(destinationBuffer, 0);
    
            // Verify
            assertEquals(8, bytesEncoded);
            assertEquals(expectedIndexNumber, SMBUtil.readInt8(destinationBuffer, 0));
        }
    
        @Test
        @DisplayName("Test encode with buffer offset")
        void testEncodeWithBufferOffset() throws SMBProtocolDecodingException {
            // First decode to set internal state
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java

         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 4) {
                throw new SMBProtocolDecodingException("Structure size is not 4");
            }
            return 4;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top