Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 834 for BOOL (0.13 seconds)

  1. internal/config/dns/types.go

    	Port     json.Number `json:"port,omitempty"`
    	Priority int         `json:"priority,omitempty"`
    	Weight   int         `json:"weight,omitempty"`
    	Text     string      `json:"text,omitempty"`
    	Mail     bool        `json:"mail,omitempty"` // Be an MX record. Priority becomes Preference.
    	TTL      uint32      `json:"ttl,omitempty"`
    
    	// Holds info about when the entry was created first.
    	CreationDate time.Time `json:"creationDate"`
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2K bytes
    - Click Count (0)
  2. internal/rest/client_test.go

    package rest
    
    import (
    	"errors"
    	"net"
    	"net/url"
    	"testing"
    )
    
    func TestNetworkError_Unwrap(t *testing.T) {
    	tests := []struct {
    		name   string
    		err    error
    		target any
    		want   bool
    	}{
    		{
    			name:   "url.Error",
    			err:    &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")},
    			target: &url.Error{},
    			want:   true,
    		},
    		{
    			name: "net.Error",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. tests/group_by_test.go

    		t.Errorf("no error should happen, but got %v", err)
    	}
    
    	if result.Name != "groupby1" || result.Total != 660 {
    		t.Errorf("name should be groupby, total should be 660, but got %+v", result)
    	}
    
    	var active bool
    	if err := DB.Model(&User{}).Select("name, active, sum(age)").Where("name = ? and active = ?", "groupby", true).Group("name").Group("active").Row().Scan(&name, &active, &total); err != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 3.3K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/extra-data-types.md

    # 额外数据类型
    
    到目前为止,您一直在使用常见的数据类型,如:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    但是您也可以使用更复杂的数据类型。
    
    您仍然会拥有现在已经看到的相同的特性:
    
    * 很棒的编辑器支持。
    * 传入请求的数据转换。
    * 响应数据转换。
    * 数据验证。
    * 自动补全和文档。
    
    ## 其他数据类型
    
    下面是一些你可以使用的其他数据类型:
    
    * `UUID`:
        * 一种标准的 "通用唯一标识符" ,在许多数据库和系统中用作ID。
        * 在请求和响应中将以 `str` 表示。
    * `datetime.datetime`:
        * 一个 Python `datetime.datetime`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. schema/serializer_test.go

    		uint32PtrValue   = &uint32Value
    		uint64PtrValue   = &uint64Value
    		maxInt64Plus1Ptr = &maxInt64Plus1
    	)
    	tests := []struct {
    		name    string
    		value   interface{}
    		want    interface{}
    		wantErr bool
    	}{
    		{
    			name:    "int",
    			value:   intValue,
    			want:    time.Unix(int64(intValue), 0).UTC(),
    			wantErr: false,
    		},
    		{
    			name:    "int8",
    			value:   int8Value,
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Oct 26 12:29:44 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. internal/event/errors.go

    package event
    
    import (
    	"encoding/xml"
    	"fmt"
    )
    
    // IsEventError - checks whether given error is event error or not.
    func IsEventError(err error) bool {
    	switch err.(type) {
    	case ErrInvalidFilterName, *ErrInvalidFilterName:
    		return true
    	case ErrFilterNamePrefix, *ErrFilterNamePrefix:
    		return true
    	case ErrFilterNameSuffix, *ErrFilterNameSuffix:
    		return true
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.1K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/extra-data-types.md

    # 추가 데이터 자료형
    
    지금까지 일반적인 데이터 자료형을 사용했습니다. 예를 들면 다음과 같습니다:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    하지만 더 복잡한 데이터 자료형 또한 사용할 수 있습니다.
    
    그리고 지금까지와 같은 기능들을 여전히 사용할 수 있습니다.
    
    * 훌륭한 편집기 지원.
    * 들어오는 요청의 데이터 변환.
    * 응답 데이터의 데이터 변환.
    * 데이터 검증.
    * 자동 어노테이션과 문서화.
    
    ## 다른 데이터 자료형
    
    아래의 추가적인 데이터 자료형을 사용할 수 있습니다:
    
    * `UUID`:
        * 표준 "범용 고유 식별자"로, 많은 데이터베이스와 시스템에서 ID로 사용됩니다.
        * 요청과 응답에서 `str`로 표현됩니다.
    * `datetime.datetime`:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  8. association.go

    	Index  int
    	Dest   reflect.Value
    }
    
    func (association *Association) saveAssociation(clear bool, values ...interface{}) {
    	var (
    		reflectValue = association.DB.Statement.ReflectValue
    		assignBacks  []assignBack // assign association values back to arguments after save
    	)
    
    	appendToRelations := func(source, rv reflect.Value, clear bool) {
    		switch association.Relationship.Type {
    		case schema.HasOne, schema.BelongsTo:
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Oct 26 12:09:12 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  9. cmd/metrics-v2.go

    	dependGlobalObjectAPI           bool
    	dependGlobalAuthNPlugin         bool
    	dependGlobalSiteReplicationSys  bool
    	dependGlobalNotificationSys     bool
    	dependGlobalKMS                 bool
    	bucketOnly                      bool
    	dependGlobalLambdaTargetList    bool
    	dependGlobalIAMSys              bool
    	dependGlobalLockServer          bool
    	dependGlobalIsDistErasure       bool
    	dependGlobalBackgroundHealState bool
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
  10. docs/debugging/inspect/export.go

    	"io"
    	"os"
    	"strings"
    	"time"
    
    	json "github.com/minio/colorjson"
    
    	"github.com/klauspost/compress/zip"
    	"github.com/tinylib/msgp/msgp"
    )
    
    func inspectToExportType(downloadPath string, datajson bool) error {
    	decode := func(r io.Reader, file string) ([]byte, error) {
    		b, e := io.ReadAll(r)
    		if e != nil {
    			return nil, e
    		}
    		b, _, minor, e := checkXL2V1(b)
    		if e != nil {
    			return nil, e
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (1)
Back to Top