Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 660 for buffered (0.08 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java

                        + execution.getGoal());
                buffer.a(' ').strong('(' + execution.getExecutionId() + ')');
            }
    
            if (project != null) {
                buffer.a(" on project ");
                buffer.project(project.getArtifactId());
            }
    
            if (cause != null) {
                buffer.a(": ").failure(cause.getMessage());
            }
    
            return buffer.toString();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

        }
        int readHeaderWireFormat( InputStream in,
                                    byte[] buffer,
                                    int bufferIndex )
                                    throws IOException {
            type = buffer[bufferIndex++] & 0xFF;
            length = (( buffer[bufferIndex] & 0x01 ) << 16 ) + readInt2( buffer, bufferIndex + 1 );
            return HEADER_LENGTH;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          derWriter.writeUtf8("a".repeat(201))
        }
    
        assertThat(buffer.readByteString(3)).isEqualTo("1e81c9".decodeHex())
        assertThat(buffer.readUtf8()).isEqualTo("a".repeat(201))
      }
    
      @Test fun `decode primitive bit string`() {
        val buffer =
          Buffer()
            .write("0307040A3B5F291CD0".decodeHex())
    
        val derReader = DerReader(buffer)
    
        derReader.read("test") { header ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            // Read total allocation units.
            this.alloc = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            // read caller available allocation units
            this.free = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  5. src/bytes/buffer_test.go

    	// Confirm that when Reader panics, the empty buffer remains empty
    	var buf2 Buffer
    	defer func() {
    		recover()
    		check(t, "TestReadFromPanicReader (2)", &buf2, "")
    	}()
    	buf2.ReadFrom(panicReader{panic: true})
    }
    
    func TestReadFromNegativeReader(t *testing.T) {
    	var b Buffer
    	defer func() {
    		switch err := recover().(type) {
    		case nil:
    			t.Fatal("bytes.Buffer.ReadFrom didn't panic")
    		case error:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java

        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
    
            if (extendedSecurity) {
                System.arraycopy(buffer, bufferIndex, blob, 0, blob.length);
                bufferIndex += blob.length;
            }
            nativeOs = readString( buffer, bufferIndex );
            bufferIndex += stringWireLength( nativeOs, bufferIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            this.replaceIfExists = buffer[ bufferIndex ] != 0;
            bufferIndex += 8;
            bufferIndex += 8;
    
            int nameLen = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            byte[] nameBytes = new byte[nameLen];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java

            return 0;
        }
    
    
        @Override
        protected int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            int elemStart = start;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

        }
    
        public String extendedToString() {
            StringBuilder buffer = new StringBuilder(256);
    
            buffer.append(LS).append("Repository Metadata").append(LS).append("--------------------------");
            buffer.append(LS).append("GroupId: ").append(getGroupId());
            buffer.append(LS).append("ArtifactId: ").append(getArtifactId());
            buffer.append(LS).append("Metadata Type: ").append(getClass().getName());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 16 ) {
                throw new SMBProtocolDecodingException("Structure size is not 16");
            }
    
            this.shareType = buffer[ bufferIndex + 2 ];
            bufferIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon May 23 14:35:20 UTC 2022
    - 6.1K bytes
    - Viewed (0)
Back to top