Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Fields (0.15 sec)

  1. cmd/xl-storage-format-v2_gen.go

    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "V2Obj":
    			if dc.IsNil() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    func TestFields(t *testing.T) {
    	for _, tt := range fieldstests {
    		b := []byte(tt.s)
    		a := Fields(b)
    
    		// Appending to the results should not change future results.
    		var x []byte
    		for _, v := range a {
    			x = append(v, 'z')
    		}
    
    		result := sliceOfString(a)
    		if !eq(result, tt.a) {
    			t.Errorf("Fields(%q) = %v; want %v", tt.s, a, tt.a)
    			continue
    		}
    
    		if string(b) != tt.s {
    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)
  3. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingFields: {
    		Code:           "MissingFields",
    		Description:    "Missing fields in request.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingCredTag: {
    		Code:           "InvalidRequest",
    		Description:    "Missing Credential field for this request.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrCredMalformed: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. cmd/object-api-multipart_test.go

    			} else {
    				// Iterating over the partInfos and asserting the fields.
    				for j, actualMetaData := range actualResult.Parts {
    					//  Asserting the PartNumber in the PartInfo.
    					if actualMetaData.PartNumber != expectedResult.Parts[j].PartNumber {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    			return &r
    		}
    	case *ast.StructType:
    		changed := false
    		fields := *t.Fields
    		fields.List = nil
    		for _, f := range t.Fields.List {
    			ft := p.rewriteUnsafe(f.Type)
    			if ft == f.Type {
    				fields.List = append(fields.List, f)
    			} else {
    				fn := *f
    				fn.Type = ft
    				fields.List = append(fields.List, &fn)
    				changed = true
    			}
    		}
    		if changed {
    			r := *t
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. cmd/iam.go

    // for the STS credential is associated with a parent user. For the
    // AssumeRoleWithCertificate case, the "virtual" parent user is the value of the
    // `Subject.CommonName` field. For the OIDC (without RoleARN) case the "virtual"
    // parent is derived as a concatenation of the `sub` and `iss` fields. The
    // policies applicable to the STS credential are associated with this "virtual"
    // parent.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. tests/migrate_test.go

    		}
    		_ = stmt.Schema.ParseIndexes()
    		field := stmt.Schema.LookUpField(fieldName)
    		if field == nil {
    			t.Fatalf("%v: failed to find column %q", utils.FileWithLineNum(), fieldName)
    		}
    		if field.Unique != unique {
    			t.Fatalf("%v: %q column %q unique should be %v but got %v", utils.FileWithLineNum(), stmt.Schema.Table, fieldName, unique, field.Unique)
    		}
    		if field.UniqueIndex != uniqueIndex {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  8. cmd/bucket-stats_gen.go

    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "ReplicatedSize":
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  9. internal/s3select/select_test.go

    		},
    		{
    			name:       "select-in-nested-float-no-flat",
    			query:      `SELECT s.nested from s3object s WHERE 8.5 IN s.nested[*]`,
    			wantResult: ``,
    		},
    		{
    			name:       "select-empty-field-result",
    			query:      `SELECT * from s3object s WHERE s.nested[0][0] = 2`,
    			wantResult: `{"id":3,"title":"Second Record","desc":"another text","nested":[[2,3,4],[7,8.5,9]]}`,
    		},
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    func (v *myProtoValue) keyAsStruct(key string) *myProtoValue {
    	if v == nil || v.GetStructValue() == nil {
    		return asMyProtoValue(&structpb.Struct{Fields: make(map[string]*structpb.Value)})
    	}
    
    	return &myProtoValue{v.GetStructValue().Fields[key]}
    }
    
    // asMyProtoValue wraps a protobuf Struct so we may use it with keyAsStruct and keyAsString
    func asMyProtoValue(s *structpb.Struct) *myProtoValue {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top