Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 357 for Bool (0.12 sec)

  1. tests/helper_test.go

    	"strconv"
    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    
    	. "gorm.io/gorm/utils/tests"
    )
    
    type Config struct {
    	Account   bool
    	Pets      int
    	Toys      int
    	Company   bool
    	Manager   bool
    	Team      int
    	Languages int
    	Friends   int
    	NamedPet  bool
    	Tools     int
    }
    
    func GetUser(name string, config Config) *User {
    	var (
    		birthday = time.Now().Round(time.Second)
    		user     = User{
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-diff.go

    	return true, nil
    }
    
    func yamlFileFilter(path string) bool {
    	return filepath.Ext(path) == YAMLSuffix
    }
    
    // compareManifestsFromDirs compares manifests from two directories
    func compareManifestsFromDirs(verbose bool, dirName1, dirName2,
    	renameResources, selectResources, ignoreResources string,
    ) (bool, error) {
    	mf1, err := util.ReadFilesWithFilter(dirName1, yamlFileFilter)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. cmd/lock-rest-client.go

    	return c.call(ctx, lockRPCRLock, &args)
    }
    
    // Lock calls lock REST API.
    func (c *lockRESTClient) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCLock, &args)
    }
    
    // RUnlock calls read unlock REST API.
    func (c *lockRESTClient) RUnlock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 24 17:07:14 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/filter.go

    type Filter struct {
    	XMLName xml.Name `xml:"Filter"`
    	set     bool
    
    	Prefix Prefix
    
    	ObjectSizeGreaterThan int64 `xml:"ObjectSizeGreaterThan,omitempty"`
    	ObjectSizeLessThan    int64 `xml:"ObjectSizeLessThan,omitempty"`
    
    	And    And
    	andSet bool
    
    	Tag    Tag
    	tagSet bool
    
    	// Caching tags, only once
    	cachedTags map[string]string
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. cmd/naughty-disk_test.go

    func (d *naughtyDisk) String() string {
    	return d.disk.String()
    }
    
    func (d *naughtyDisk) IsOnline() bool {
    	if err := d.calcError(); err != nil {
    		return err == errDiskNotFound
    	}
    	return d.disk.IsOnline()
    }
    
    func (d *naughtyDisk) LastConn() time.Time {
    	return d.disk.LastConn()
    }
    
    func (d *naughtyDisk) IsLocal() bool {
    	return d.disk.IsLocal()
    }
    
    func (d *naughtyDisk) Endpoint() Endpoint {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. api/next/60427.txt

    pkg reflect, type Type interface, OverflowComplex(complex128) bool #60427
    pkg reflect, type Type interface, OverflowFloat(float64) bool #60427
    pkg reflect, type Type interface, OverflowInt(int64) bool #60427
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Feb 28 14:08:38 GMT 2024
    - 275 bytes
    - Viewed (0)
  7. api/next/61897.txt

    pkg iter, func Pull2[$0 interface{}, $1 interface{}](Seq2[$0, $1]) (func() ($0, $1, bool), func()) #61897
    pkg iter, func Pull[$0 interface{}](Seq[$0]) (func() ($0, bool), func()) #61897
    pkg iter, type Seq2[$0 interface{}, $1 interface{}] func(func($0, $1) bool) #61897
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon May 06 20:33:25 GMT 2024
    - 331 bytes
    - Viewed (0)
  8. utils/utils.go

    		}
    	}
    
    	return ""
    }
    
    func IsValidDBNameChar(c rune) bool {
    	return !unicode.IsLetter(c) && !unicode.IsNumber(c) && c != '.' && c != '*' && c != '_' && c != '$' && c != '@'
    }
    
    // CheckTruth check string true or not
    func CheckTruth(vals ...string) bool {
    	for _, val := range vals {
    		if val != "" && !strings.EqualFold(val, "false") {
    			return true
    		}
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/workload.go

    type WorkloadFilter struct {
    	Address   string
    	Node      string
    	Verbose   bool
    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *WorkloadFilter) Verify(workload *ZtunnelWorkload) bool {
    	if wf.Address == "" && wf.Node == "" && wf.Namespace == "" {
    		return true
    	}
    
    	if wf.Namespace != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // `keep_alive_secs` of inactivity.
      virtual Status SetOrUpdateServerDef(const ServerDef& server_def,
                                          bool reset_context, int keep_alive_secs,
                                          int64_t init_timeout_in_ms, int retries,
                                          bool clear_existing_contexts = false) = 0;
    
      // Initializes context for the local worker and no contexts will be created
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top