Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,440 for Fake (0.06 sec)

  1. src/archive/tar/strconv.go

    }
    
    // toASCII converts the input to an ASCII C-style string.
    // This is a best effort conversion, so invalid characters are dropped.
    func toASCII(s string) string {
    	if isASCII(s) {
    		return s
    	}
    	b := make([]byte, 0, len(s))
    	for _, c := range s {
    		if c < 0x80 && c != 0x00 {
    			b = append(b, byte(c))
    		}
    	}
    	return string(b)
    }
    
    type parser struct {
    	err error // Last error seen
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. callbacks/create.go

    			rValLen := stmt.ReflectValue.Len()
    			if rValLen == 0 {
    				stmt.AddError(gorm.ErrEmptySlice)
    				return
    			}
    
    			stmt.SQL.Grow(rValLen * 18)
    			stmt.Vars = make([]interface{}, 0, rValLen*len(values.Columns))
    			values.Values = make([][]interface{}, rValLen)
    
    			defaultValueFieldsHavingValue := map[*schema.Field][]interface{}{}
    			for i := 0; i < rValLen; i++ {
    				rv := reflect.Indirect(stmt.ReflectValue.Index(i))
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    }
    
    // mappedPoliciesToMap copies the map of mapped policies to a regular map.
    func mappedPoliciesToMap(m *xsync.MapOf[string, MappedPolicy]) map[string]MappedPolicy {
    	policies := make(map[string]MappedPolicy, m.Size())
    	m.Range(func(k string, v MappedPolicy) bool {
    		policies[k] = v
    		return true
    	})
    	return policies
    }
    
    // converts a mapped policy into a slice of distinct policies
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    A command line tool that will **process your code** and update most of the things **automatically** for you. Make sure you have your code in git first, and review each of the changes to make sure everything is correct before committing the changes.
    
    ### Pydantic v1
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  5. cmd/xl-storage-meta-inline.go

    func (x *xlMetaInlineData) remove(keys ...string) bool {
    	in := x.afterVersion()
    	sz, buf, _ := msgp.ReadMapHeaderBytes(in)
    	newKeys := make([][]byte, 0, sz)
    	newVals := make([][]byte, 0, sz)
    	var removeKey func(s []byte) bool
    
    	// Copy if big number of compares...
    	if len(keys) > 5 && sz > 5 {
    		mKeys := make(map[string]struct{}, len(keys))
    		for _, key := range keys {
    			mKeys[key] = struct{}{}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. cmd/erasure-metadata_test.go

    			}
    		}
    		return fis
    	}
    
    	commonSuccModTime := time.Date(2023, time.August, 25, 0, 0, 0, 0, time.UTC)
    	succModTimesInQuorum := make([]time.Time, 16)
    	succModTimesNoQuorum := make([]time.Time, 16)
    	commonNumVersions := 2
    	numVersionsInQuorum := make([]int, 16)
    	numVersionsNoQuorum := make([]int, 16)
    	for i := 0; i < 16; i++ {
    		if i < 4 {
    			continue
    		}
    		succModTimesInQuorum[i] = commonSuccModTime
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. .github/workflows/go-lint.yml

              GO111MODULE: on
            run: |
              sudo apt install jq -y
              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
              make
              make test
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 16 20:46:53 UTC 2024
    - 1010 bytes
    - Viewed (0)
  8. cmd/site-replication-metrics.go

    }
    
    func (sr *SRStats) get() map[string]SRMetric {
    	epMap := globalBucketTargetSys.healthStats()
    
    	sr.lock.RLock()
    	defer sr.lock.RUnlock()
    	m := make(map[string]SRMetric, len(sr.M))
    	for dID, v := range sr.M {
    		t := newXferStats()
    		mx := make(map[RMetricName]XferStats)
    
    		if v.XferRateLrg != nil {
    			mx[Large] = *v.XferRateLrg.Clone()
    			m := t.merge(*v.XferRateLrg)
    			t = &m
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. src/all.rc

    # Copyright 2012 The Go Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    rfork n
    
    if(! test -f make.rc){
    	echo 'all.rc must be run from $GOROOT/src' >[1=2]
    	exit wrongdir
    }
    
    . ./make.rc --no-banner $*
    bind -b $GOROOT/bin /bin
    ./run.rc --no-rebuild
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 20 04:53:46 UTC 2020
    - 388 bytes
    - Viewed (0)
  10. cmd/erasure-healing-common.go

    	availableDisks = make([]StorageAPI, len(onlineDisks))
    
    	dataErrsByDisk = make(map[int][]int, len(onlineDisks))
    	for i := range onlineDisks {
    		dataErrsByDisk[i] = make([]int, len(latestMeta.Parts))
    	}
    
    	dataErrsByPart = make(map[int][]int, len(latestMeta.Parts))
    	for i := range latestMeta.Parts {
    		dataErrsByPart[i] = make([]int, len(onlineDisks))
    	}
    
    	inconsistent := 0
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top