Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for 26 (0.12 sec)

  1. internal/s3select/csv/reader_contrib_test.go

    			wantTenFields: `3389224,2,2014-03-26 00:26:15,2014-03-26 00:28:38,N,1,-73.950431823730469,40.792251586914063,-73.938949584960937,40.794425964355469,1,0.84,4.5,0.5,0.5,1,0,,,6.5,...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
  2. src/bytes/example_test.go

    	// Output:
    	// 8
    	// 9
    	// -1
    }
    
    func ExampleMap() {
    	rot13 := func(r rune) rune {
    		switch {
    		case r >= 'A' && r <= 'Z':
    			return 'A' + (r-'A'+13)%26
    		case r >= 'a' && r <= 'z':
    			return 'a' + (r-'a'+13)%26
    		}
    		return r
    	}
    	fmt.Printf("%s\n", bytes.Map(rot13, []byte("'Twas brillig and the slithy gopher...")))
    	// Output:
    	// 'Gjnf oevyyvt naq gur fyvgul tbcure...
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  3. src/archive/zip/zip_test.go

    // our zip performance, since the test above disabled CRC32 and flate.
    func BenchmarkZip64Test(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		testZip64(b, 1<<26)
    	}
    }
    
    func BenchmarkZip64TestSizes(b *testing.B) {
    	for _, size := range []int64{1 << 12, 1 << 20, 1 << 26} {
    		b.Run(fmt.Sprint(size), func(b *testing.B) {
    			b.RunParallel(func(pb *testing.PB) {
    				for pb.Next() {
    					testZip64(b, size)
    				}
    			})
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  4. cmd/erasure-decode_test.go

    	{dataBlocks: 2, onDisks: 4, offDisks: 0, blocksize: int64(blockSizeV2), data: int64(blockSizeV2) + 1, offset: 0, length: int64(blockSizeV2) + 1, algorithm: BLAKE2b512, shouldFail: false, shouldFailQuorum: false},                               // 26
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  5. internal/etag/etag_test.go

    	},
    	{ // 5
    		ETag:   ETag{32, 0, 15, 0, 219, 45, 144, 167, 180, 7, 130, 212, 207, 242, 180, 26, 119, 153, 252, 30, 126, 173, 37, 151, 45, 182, 81, 80, 17, 141, 251, 226, 186, 118, 163, 192, 2, 218, 40, 248, 92, 132, 12, 210, 0, 26, 40, 169},
    		String: "20000f00db2d90a7b40782d4cff2b41a7799fc1e7ead25972db65150118dfbe2ba76a3c002da28f85c840cd2001a28a9",
    	},
    }
    
    func TestString(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  6. cmd/metrics-v2_gen.go

    func (z *MetricsGroupOpts) Msgsize() (s int) {
    	s = 1 + 22 + msgp.BoolSize + 24 + msgp.BoolSize + 31 + msgp.BoolSize + 28 + msgp.BoolSize + 16 + msgp.BoolSize + 11 + msgp.BoolSize + 29 + msgp.BoolSize + 19 + msgp.BoolSize + 23 + msgp.BoolSize + 26 + msgp.BoolSize + 32 + msgp.BoolSize + 22 + msgp.BoolSize
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *MetricsGroupV2) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  7. cmd/bucket-metadata_gen.go

    	return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 25 05:52:39 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  8. src/bytes/buffer_test.go

    		check(t, "TestBasicOperations (5)", &buf, "ab")
    
    		n, err = buf.Write(testBytes[2:26])
    		if want := 24; err != nil || n != want {
    			t.Errorf("Write: got (%d, %v), want (%d, %v)", n, err, want, nil)
    		}
    		check(t, "TestBasicOperations (6)", &buf, testString[0:26])
    
    		buf.Truncate(26)
    		check(t, "TestBasicOperations (7)", &buf, testString[0:26])
    
    		buf.Truncate(20)
    		check(t, "TestBasicOperations (8)", &buf, testString[0:20])
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/file.txt",
    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/file.txt",
    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/333/file.txt",
    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/file.txt",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  10. src/archive/zip/writer_test.go

    		t.Errorf("unexpected method and flags: %v", b[6:10])
    	}
    
    	if !bytes.Equal(b[14:26], make([]byte, 12)) { // FileHeader.{CRC32,CompressSize,UncompressedSize} all zero.
    		t.Errorf("unexpected crc, compress and uncompressed size to be 0 was: %v", b[14:26])
    	}
    
    	binary.LittleEndian.PutUint32(sig[:], uint32(dataDescriptorSignature))
    	if bytes.Contains(b, sig[:]) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
Back to top