Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 86 for 1234 (0.12 sec)

  1. src/bufio/bufio_test.go

    	}
    	if got, want := NewReaderSize(nil, 1234).Size(), 1234; got != want {
    		t.Errorf("NewReaderSize's Reader.Size = %d; want %d", got, want)
    	}
    }
    
    func TestWriterSize(t *testing.T) {
    	if got, want := NewWriter(nil).Size(), DefaultBufSize; got != want {
    		t.Errorf("NewWriter's Writer.Size = %d; want %d", got, want)
    	}
    	if got, want := NewWriterSize(nil, 1234).Size(), 1234; got != want {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. istioctl/pkg/metrics/metrics_test.go

    			testutil.VerifyOutput(t, metricCmd, c)
    		})
    	}
    }
    
    func TestAPI(t *testing.T) {
    	_, _ = prometheusAPI(fmt.Sprintf("http://localhost:%d", 1234))
    }
    
    var _ promv1.API = mockPromAPI{}
    
    func TestPrintMetrics(t *testing.T) {
    	mockProm := mockPromAPI{
    		cannedResponse: map[string]prometheus_model.Value{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. internal/bucket/encryption/bucket-sse-config_test.go

    		{
    			inputXML:    `<ServerSideEncryptionConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Rule><ApplyServerSideEncryptionByDefault><SSEAlgorithm>AES256</SSEAlgorithm><KMSMasterKeyID>arn:aws:kms:us-east-1:1234/5678example</KMSMasterKeyID></ApplyServerSideEncryptionByDefault></Rule></ServerSideEncryptionConfiguration>`,
    			expectedErr: errors.New("MasterKeyID is allowed with aws:kms only"),
    			shouldPass:  false,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 16 18:28:30 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  4. cmd/endpoint_test.go

    		// Erasure Setup with PathEndpointType
    		{
    			":1234",
    			[]string{"/d1", "/d2", "/d3", "/d4"},
    			":1234",
    			Endpoints{
    				Endpoint{URL: &url.URL{Path: mustAbs("/d1")}, IsLocal: true},
    				Endpoint{URL: &url.URL{Path: mustAbs("/d2")}, IsLocal: true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:53:03 GMT 2024
    - 18.9K bytes
    - Viewed (1)
  5. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

    // particular topology segment.  This can be used when considering where to
    // instantiate new PersistentVolumes.
    //
    // For example this can express things like:
    // - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1"
    // - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"
    //
    // The following three cases all imply that no capacity is available for
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. internal/dsync/drwmutex_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dsync
    
    import (
    	"context"
    	"fmt"
    	"runtime"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    const (
    	id     = "1234-5678"
    	source = "main.go"
    )
    
    func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) {
    	drwm1 := NewDRWMutex(ds, "simplelock")
    	ctx1, cancel1 := context.WithCancel(context.Background())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  7. src/archive/zip/writer_test.go

    func TestWriterDirAttributes(t *testing.T) {
    	var buf bytes.Buffer
    	w := NewWriter(&buf)
    	if _, err := w.CreateHeader(&FileHeader{
    		Name:               "dir/",
    		Method:             Deflate,
    		CompressedSize64:   1234,
    		UncompressedSize64: 5678,
    	}); err != nil {
    		t.Fatal(err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    	b := buf.Bytes()
    
    	var sig [4]byte
    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)
  8. src/bytes/bytes_test.go

    	{faces, "☹", -1, []string{"☺☻☹", ""}},
    	{faces, "~", -1, []string{faces}},
    	{faces, "", -1, []string{"☺", "☻", "☹"}},
    	{"1 2 3 4", " ", 3, []string{"1 ", "2 ", "3 4"}},
    	{"1 2 3", " ", 3, []string{"1 ", "2 ", "3"}},
    	{"1 2", " ", 3, []string{"1 ", "2"}},
    	{"123", "", 2, []string{"1", "23"}},
    	{"123", "", 17, []string{"1", "2", "3"}},
    }
    
    func TestSplitAfter(t *testing.T) {
    	for _, tt := range splitaftertests {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/storage/v1beta1/generated.proto

    // particular topology segment.  This can be used when considering where to
    // instantiate new PersistentVolumes.
    //
    // For example this can express things like:
    // - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1"
    // - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"
    //
    // The following three cases all imply that no capacity is available for
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/operand_test.go

    	{"$0.5", "$(0.5)"},
    	{"0(R26)", "(R26)"},
    	{"0(RSP)", "(RSP)"},
    	{"$1", "$1"},
    	{"$-1", "$-1"},
    	{"$1000", "$1000"},
    	{"$1000000000", "$1000000000"},
    	{"$0x7fff3c000", "$34358935552"},
    	{"$1234", "$1234"},
    	{"$~15", "$-16"},
    	{"$16", "$16"},
    	{"-16(RSP)", "-16(RSP)"},
    	{"16(RSP)", "16(RSP)"},
    	{"1(R1)", "1(R1)"},
    	{"-1(R4)", "-1(R4)"},
    	{"18740(R5)", "18740(R5)"},
    	{"$2", "$2"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
Back to top