Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for Native (0.21 sec)

  1. src/cmd/addr2line/addr2line_test.go

    	}
    	fi1, err := os.Stat("addr2line_test.go")
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    
    	// Debug paths are stored slash-separated, so convert to system-native.
    	srcPath = filepath.FromSlash(srcPath)
    	fi2, err := os.Stat(srcPath)
    
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    	if !os.SameFile(fi1, fi2) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. cmd/signature-v4-parser.go

    	if aec != ErrNone {
    		return psv, aec
    	}
    
    	var e error
    	// Save date in native time.Time.
    	preSignV4Values.Date, e = time.Parse(iso8601Format, query.Get(xhttp.AmzDate))
    	if e != nil {
    		return psv, ErrMalformedPresignedDate
    	}
    
    	// Save expires in native time.Duration.
    	preSignV4Values.Expires, e = time.ParseDuration(query.Get(xhttp.AmzExpires) + "s")
    	if e != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. cmd/bucket-listobjects-handlers.go

    			return checkRequestAuthType(ctx, r, action, bucket, name)
    		}
    	}
    	urlValues := r.Form
    
    	// Extract all the listBucketVersions query params to their native values.
    	prefix, marker, delimiter, maxkeys, encodingType, versionIDMarker, errCode := getListBucketObjectVersionsArgs(urlValues)
    	if errCode != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  4. tests/preload_suits_test.go

    	if err := DB.AutoMigrate(&Level3{}, &Level2{}, &Level1{}); err != nil {
    		t.Error(err)
    	}
    
    	want := Level1{
    		Value: "Bob",
    		Level2: &Level2{
    			Value: "en",
    			Level3: &Level3{
    				Value: "native",
    			},
    		},
    	}
    	if err := DB.Save(&want).Error; err != nil {
    		t.Error(err)
    	}
    
    	want2 := Level1{
    		Value:  "Tom",
    		Level2: nil,
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Mar 18 05:38:46 GMT 2022
    - 30.3K bytes
    - Viewed (0)
  5. src/archive/tar/strconv.go

    	nStr, rest, ok := strings.Cut(s, " ")
    	if !ok {
    		return "", "", s, ErrHeader
    	}
    
    	// Parse the first token as a decimal integer.
    	n, perr := strconv.ParseInt(nStr, 10, 0) // Intentionally parse as native int
    	if perr != nil || n < 5 || n > int64(len(s)) {
    		return "", "", s, ErrHeader
    	}
    	n -= int64(len(nStr) + 1) // convert from index in s to index in rest
    	if n <= 0 {
    		return "", "", s, ErrHeader
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    			// incorrectly believed that the old GNU format had a prefix field.
    			// This is wrong and leads to an output file that mangles the
    			// atime and ctime fields, which are often left unused.
    			//
    			// In order to continue reading tar files created by former, buggy
    			// versions of Go, we skeptically parse the atime and ctime fields.
    			// If we are unable to parse them and the prefix field looks like
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  7. cmd/bucket-replication-stats.go

    	sync.RWMutex                 // mutex for Cache
    	mostRecentStatsMu sync.Mutex // mutex for mostRecentStats
    
    	wlock sync.RWMutex // mutex for active workers
    
    	movingAvgTicker *time.Ticker // Ticker for calculating moving averages
    	wTimer          *time.Ticker // ticker for calculating active workers
    	qTimer          *time.Ticker // ticker for calculating queue stats
    }
    
    func (r *ReplicationStats) trackEWMA() {
    	for {
    		select {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  8. internal/event/target/nsq.go

    	return target.ID().String()
    }
    
    // Store returns any underlying store if set.
    func (target *NSQTarget) Store() event.TargetStore {
    	return target.store
    }
    
    // IsActive - Return true if target is up and active
    func (target *NSQTarget) IsActive() (bool, error) {
    	if err := target.init(); err != nil {
    		return false, err
    	}
    	return target.isActive()
    }
    
    func (target *NSQTarget) isActive() (bool, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	}
    }
    
    // proxyTaggingToRepTarget proxies tagging requests to remote targets for
    // active-active replicated setups
    func proxyTaggingToRepTarget(ctx context.Context, bucket, object string, tags *tags.Tags, opts ObjectOptions, proxyTargets *madmin.BucketTargets) (proxy proxyResult) {
    	// this option is set when active-active replication is in place between site A -> B,
    	// and request hits site B that does not have the object yet.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. utils/tests/models.go

    	Company   Company
    	ManagerID *uint
    	Manager   *User
    	Team      []User     `gorm:"foreignkey:ManagerID"`
    	Languages []Language `gorm:"many2many:UserSpeak;"`
    	Friends   []*User    `gorm:"many2many:user_friends;"`
    	Active    bool
    }
    
    type Account struct {
    	gorm.Model
    	UserID sql.NullInt64
    	Number string
    }
    
    type Pet struct {
    	gorm.Model
    	UserID *uint
    	Name   string
    	Toy    Toy `gorm:"polymorphic:Owner;"`
    }
    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)
Back to top