Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 139 for 1034 (0.03 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      }
    
      public void testInt() {
        Sink sink = new Sink(4);
        sink.putInt(0x04030201);
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
        Sink sink = new Sink(8);
        sink.putLong(0x0807060504030201L);
        HashCode unused = sink.hash();
        sink.assertInvariants(8);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. internal/s3select/csv/reader.go

    // return the buffer until the next newline occurs.
    // The last block will be sent along with an io.EOF.
    func (r *Reader) nextSplit(skip int, dst []byte) ([]byte, error) {
    	if cap(dst) < skip {
    		dst = make([]byte, 0, skip+1024)
    	}
    	dst = dst[:skip]
    	if skip > 0 {
    		n, err := io.ReadFull(r.buf, dst)
    		if err != nil && err != io.ErrUnexpectedEOF {
    			// If an EOF happens after reading some but not all the bytes,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java

            assertContains(range, "2");
            assertEquals(range, parseValid(range.toString()));
        }
    
        @Test
        void testLowerBoundInclusiveUpperBoundExclusive() {
            VersionRange range = parseValid("[1.2.3.4.5,1.2.3.4.6)");
            assertContains(range, "1.2.3.4.5");
            assertNotContains(range, "1.2.3.4.6");
            assertEquals(range, parseValid(range.toString()));
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. internal/bpool/bpool_test.go

    package bpool
    
    import (
    	"testing"
    )
    
    // Tests - bytePool functionality.
    func TestBytePool(t *testing.T) {
    	size := uint64(4)
    	width := 1024
    	capWidth := 2048
    
    	bp := NewBytePoolCap(size, width, capWidth)
    
    	// Check the width
    	if bp.Width() != width {
    		t.Fatalf("bytepool width invalid: got %v want %v", bp.Width(), width)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      }
    
      public void testInt() {
        Sink sink = new Sink(4);
        sink.putInt(0x04030201);
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
        Sink sink = new Sink(8);
        sink.putLong(0x0807060504030201L);
        HashCode unused = sink.hash();
        sink.assertInvariants(8);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. cmd/veeam-sos-api.go

    //     setting will be set to this value. This setting will be only applied to newly created jobs (manual changes with Active Full
    //     processing possible from the customer side).
    //     Optional value, default 1024, allowed values 256,512,1024,4096,8192, value defined in KB size.
    //
    // - The object should be present in all buckets accessed by Veeam products that want to leverage the SOSAPI functionality.
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. cmd/update-notifier_test.go

    		{60 * time.Second, "my_download_url", "1 minute before the latest release"},
    		{61 * time.Second, "my_download_url", "1 minute before the latest release"},
    
    		// Testcase index 10
    		{37 * time.Minute, "my_download_url", "37 minutes before the latest release"},
    		{1 * time.Hour, "my_download_url", "1 hour before the latest release"},
    		{61 * time.Minute, "my_download_url", "1 hour before the latest release"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 31 15:36:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

        byte subCommand;
        String name = "";
        int maxBufferSize; // set in SmbTransport.sendTransaction() before nextElement called
    
        byte[] txn_buf;
    
        SmbComTransaction() {
            maxParameterCount = 1024;
            primarySetupOffset = PRIMARY_SETUP_OFFSET;
            secondaryParameterOffset = SECONDARY_PARAMETER_OFFSET;
        }
    
        void reset() {
            super.reset();
            isPrimary = hasMore = true; 
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                    if ( ( getPipeType() & SmbPipeResource.PIPE_TYPE_DCE_TRANSACT ) == SmbPipeResource.PIPE_TYPE_DCE_TRANSACT ) {
                        req.setMaxDataCount(1024);
                    }
                    th.send(req, resp, RequestParam.NO_RETRY);
                    return resp.getResponseLength();
                }
                else if ( this.call ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                try {
    SmbComReadAndX request = new SmbComReadAndX( file.fid, fp, r, null );
    if( file.type == SmbFile.TYPE_NAMED_PIPE ) {
        request.minCount = request.maxCount = request.remaining = 1024;
    }
                    file.send( request, response );
                } catch( SmbException se ) {
                    if( file.type == SmbFile.TYPE_NAMED_PIPE &&
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
Back to top