Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,103 for differ (0.08 sec)

  1. cmd/local-locker_gen_test.go

    	v := localLockMap{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	en := msgp.NewWriter(msgp.Nowhere)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.EncodeMsg(en)
    	}
    	en.Flush()
    }
    
    func BenchmarkDecodelocalLockMap(b *testing.B) {
    	v := localLockMap{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

        }
    
    
        @Override
        protected int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

            return 0;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            if( wordCount == 0 ) {
                return 0;
            }
            fileAttributes = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            lastWriteTime = readUTime( buffer, bufferIndex );
            bufferIndex += 4;
            fileSize = readInt4( buffer, bufferIndex );
            return 20;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  4. 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)
  5. okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        val buffer = Buffer()
        buffer.write(byteString)
        deflate(buffer)
        return buffer.readByteString()
      }
    
      private fun MessageInflater.inflate(byteString: ByteString): ByteString {
        val buffer = Buffer()
        buffer.write(byteString)
        inflate(buffer)
        return buffer.readByteString()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. internal/s3select/csv/reader_contrib_test.go

    	}{
    		{"1,2,3\na,b,c\n", "\n", ","},
    		{"1,2,3\ta,b,c\t", "\t", ","},
    		{"1,2,3\r\na,b,c\r\n", "\r\n", ","},
    	}
    
    	for i, c := range cases {
    		var err error
    		var record sql.Record
    		var result bytes.Buffer
    
    		r, _ := NewReader(io.NopCloser(strings.NewReader(c.content)), &ReaderArgs{
    			FileHeaderInfo:             none,
    			RecordDelimiter:            c.recordDelimiter,
    			FieldDelimiter:             c.fieldDelimiter,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

                e.name = readString( buffer, bufferIndex, 16, false );
                bufferIndex += 16;
                e.versionMajor = (int)( buffer[bufferIndex++] & 0xFF );
                e.versionMinor = (int)( buffer[bufferIndex++] & 0xFF );
                e.type = readInt4( buffer, bufferIndex );
                bufferIndex += 4;
                int off = readInt4( buffer, bufferIndex );
                bufferIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
Back to top