Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for mary (0.18 sec)

  1. utils/tests/models.go

    import (
    	"database/sql"
    	"time"
    
    	"gorm.io/gorm"
    )
    
    // User has one `Account` (has one), many `Pets` (has many) and `Toys` (has many - polymorphic)
    // He works in a Company (belongs to), he has a Manager (belongs to - single-table), and also managed a Team (has many - single-table)
    // He speaks many languages (many to many) and has many friends (many to many - single-table)
    // His pet also has one Toy (has one - polymorphic)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. internal/config/storageclass/storage-class.go

    	OptimizeEnv = "MINIO_STORAGE_CLASS_OPTIMIZE"
    	// Inline block indicates the size of the shard
    	// that is considered for inlining, remember this
    	// shard value is the value per drive shard it
    	// will vary based on the parity that is configured
    	// for the STANDARD storage_class.
    	// inlining means data and metadata are written
    	// together in a single file i.e xl.meta
    	InlineBlockEnv = "MINIO_STORAGE_CLASS_INLINE_BLOCK"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. cmd/xl-storage-errors.go

    // Check if the given error corresponds to the ENAMETOOLONG (name too long).
    func isSysErrTooLong(err error) bool {
    	return errors.Is(err, syscall.ENAMETOOLONG)
    }
    
    // Check if the given error corresponds to the ELOOP (too many symlinks).
    func isSysErrTooManySymlinks(err error) bool {
    	return errors.Is(err, syscall.ELOOP)
    }
    
    // Check if the given error corresponds to ENOTEMPTY for unix,
    // EEXIST for solaris variants,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:29 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  4. cmd/iam-etcd-store.go

    }
    
    func (ies *IAMEtcdStore) loadPolicyDocs(ctx context.Context, m map[string]PolicyDoc) error {
    	ctx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    	//  Retrieve all keys and values to avoid too many calls to etcd in case of
    	//  a large number of policies
    	r, err := ies.client.Get(ctx, iamConfigPoliciesPrefix, etcd.WithPrefix())
    	if err != nil {
    		return err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  5. tests/associations_has_many_test.go

    	user.Pets = append(user.Pets, &pet)
    	CheckUser(t, user2, user)
    
    	AssertAssociationCount(t, user, "Pets", 3, "AfterAppend")
    
    	pets2 := []Pet{{Name: "pet-has-many-append-1-1"}, {Name: "pet-has-many-append-1-1"}}
    
    	if err := DB.Model(&user2).Association("Pets").Append(&pets2); err != nil {
    		t.Fatalf("Error happened when append pet, got %v", err)
    	}
    
    	for _, pet := range pets2 {
    		pet := pet
    		if pet.ID == 0 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 15.6K bytes
    - Viewed (0)
  6. operator/cmd/mesh/profile-diff_test.go

    // Copyright Istio Authors
    //
    // Licensed under the Apache License, Version 2.0 (the "License");
    // you may not use this file except in compliance with the License.
    // You may obtain a copy of the License at
    //
    //     http://www.apache.org/licenses/LICENSE-2.0
    //
    // Unless required by applicable law or agreed to in writing, software
    // distributed under the License is distributed on an "AS IS" BASIS,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  7. src/archive/zip/struct.go

    	// IDs above that range are defined by third-party vendors.
    	// Since ZIP lacked high precision timestamps (nor an official specification
    	// of the timezone used for the date fields), many competing extra fields
    	// have been invented. Pervasive use effectively makes them "official".
    	//
    	// See http://mdfs.net/Docs/Comp/Archiving/Zip/ExtraField
    	zip64ExtraID       = 0x0001 // Zip64 extended information
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  8. cmd/metacache-manager.go

    		return errFileNotFound
    	}
    	if cache.status == scanStateSuccess || cache.status == scanStateStarted {
    		if time.Since(cache.lastUpdate) > metacacheMaxRunningAge {
    			// We got a stale entry, mark error on handling server.
    			err := fmt.Errorf("timeout: list %s not updated", cache.id)
    			cache.error = err.Error()
    			cache.status = scanStateError
    			rpc.UpdateMetacacheListing(ctx, cache)
    			return err
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  9. cni/pkg/repair/netns.go

    	// We want the pause container, as the istio-validation one may exit before we are done.
    	// We do this by detecting the longest running process. We could look at `cmdline`, but is likely more reliable to weird platforms.
    	for _, p := range procs {
    		ns := getPidNamespace(p.PID)
    		fd, err := unix.Open(ns, unix.O_RDONLY, 0)
    		if err != nil {
    			// Not uncommon, many processes are transient and we have a TOCTOU here.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. src/bufio/scan.go

    // lines, bytes, UTF-8-encoded runes, and space-delimited words. The
    // client may instead provide a custom split function.
    //
    // Scanning stops unrecoverably at EOF, the first I/O error, or a token too
    // large to fit in the [Scanner.Buffer]. When a scan stops, the reader may have
    // advanced arbitrarily far past the last token. Programs that need more
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
Back to top