Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for fieldset (0.19 sec)

  1. src/bytes/bytes_test.go

    			if !reflect.DeepEqual(a, b) {
    				t.Errorf("SplitAfter disagrees withSplitAfterN(%q, %q, %d) = %v; want %v", tt.s, tt.sep, tt.n, b, a)
    			}
    		}
    	}
    }
    
    type FieldsTest struct {
    	s string
    	a []string
    }
    
    var fieldstests = []FieldsTest{
    	{"", []string{}},
    	{" ", []string{}},
    	{" \t ", []string{}},
    	{"  abc  ", []string{"abc"}},
    	{"1 2 3 4", []string{"1", "2", "3", "4"}},
    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)
  2. 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)
  3. cmd/xl-storage-format-v2_gen.go

    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *xlMetaDataDirDecoder) EncodeMsg(en *msgp.Writer) (err error) {
    	// check for omitted fields
    	zb0001Len := uint32(1)
    	var zb0001Mask uint8 /* 1 bits */
    	_ = zb0001Mask
    	if z.ObjectV2 == nil {
    		zb0001Len--
    		zb0001Mask |= 0x1
    	}
    	// variable map header, size zb0001Len
    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)
  4. cmd/api-errors.go

    			return apiErr
    		}
    	}
    	return apiErr
    }
    
    func (e errorCodeMap) ToAPIErr(errCode APIErrorCode) APIError {
    	return e.ToAPIErrWithErr(errCode, nil)
    }
    
    // error code to APIError structure, these fields carry respective
    // descriptions for all the error responses.
    var errorCodes = errorCodeMap{
    	ErrInvalidCopyDest: {
    		Code:           "InvalidRequest",
    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)
  5. cmd/iam.go

    // 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.
    //
    // When a policyName is given to this function, the policy association is
    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)
  6. 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)
  7. 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)
  8. tests/query_test.go

    	result := dryDB.Omit("name, age").Find(&User{})
    	if !regexp.MustCompile(userQuery).MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("SQL must include table name and selected fields, got %v", result.Statement.SQL.String())
    	}
    }
    
    func TestPluckWithSelect(t *testing.T) {
    	users := []User{
    		{Name: "pluck_with_select_1", Age: 25},
    		{Name: "pluck_with_select_2", Age: 26},
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    // the current journal entry type other types might be nil based
    // on what Type field carries, it is imperative for the caller
    // to verify which journal type first before accessing rest of the fields.
    type xlMetaV2Version struct {
    	Type             VersionType           `json:"Type" msg:"Type"`
    	ObjectV1         *xlMetaV1Object       `json:"V1Obj,omitempty" msg:"V1Obj,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  10. src/archive/zip/reader_test.go

    				Content:  []byte("This small file is in ZIP64 format.\n"),
    				Modified: time.Date(2012, 8, 10, 14, 33, 32, 0, time.UTC),
    				Mode:     0644,
    			},
    		},
    	},
    	// Another zip64 file with different Extras fields. (golang.org/issue/7069)
    	{
    		Name: "zip64-2.zip",
    		File: []ZipTestFile{
    			{
    				Name:     "README",
    				Content:  []byte("This small file is in ZIP64 format.\n"),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top