Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 67 for scwang (0.37 sec)

  1. internal/config/config.go

    type Config map[string]map[string]KVS
    
    // DelFrom - deletes all keys in the input reader.
    func (c Config) DelFrom(r io.Reader) error {
    	scanner := bufio.NewScanner(r)
    	for scanner.Scan() {
    		// Skip any empty lines, or comment like characters
    		text := scanner.Text()
    		if text == "" || strings.HasPrefix(text, KvComment) {
    			continue
    		}
    		if err := c.DelKVS(text); err != nil {
    			return err
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    	// This will be used to persist the list.
    	ID string
    
    	// Bucket of the listing.
    	Bucket string
    
    	// Directory inside the bucket.
    	// When unset listPath will set this based on Prefix
    	BaseDir string
    
    	// Scan/return only content with prefix.
    	Prefix string
    
    	// FilterPrefix will return only results with this prefix when scanning.
    	// Should never contain a slash.
    	// Prefix should still be set.
    	FilterPrefix string
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  3. callbacks/create.go

    				db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...,
    			)
    			if db.AddError(err) == nil {
    				defer func() {
    					db.AddError(rows.Close())
    				}()
    				gorm.Scan(rows, db, mode)
    			}
    
    			return
    		}
    
    		result, err := db.Statement.ConnPool.ExecContext(
    			db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...,
    		)
    		if err != nil {
    			db.AddError(err)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    			// - attempt a heal to successfully heal them for future calls.
    			if written == partLength {
    				var scan madmin.HealScanMode
    				switch {
    				case errors.Is(err, errFileNotFound):
    					scan = madmin.HealNormalScan
    				case errors.Is(err, errFileCorrupt):
    					scan = madmin.HealDeepScan
    				}
    				switch scan {
    				case madmin.HealNormalScan, madmin.HealDeepScan:
    					healOnce.Do(func() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  5. src/cmd/asm/internal/asm/parse.go

    	case "PCDATA":
    		p.asmPCData(operands)
    	case "PCALIGN":
    		p.asmPCAlign(operands)
    	case "TEXT":
    		p.asmText(operands)
    	default:
    		return false
    	}
    	return true
    }
    
    // symDefRef scans a line for potential text symbol definitions and
    // references and writes symabis information to w.
    //
    // The symabis format is documented at
    // cmd/compile/internal/ssagen.ReadSymABIs.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/podcgroupns.go

    func GetCgroups(procCgroupData bytes.Buffer) ([]Cgroup, error) {
    	reader := bytes.NewReader(procCgroupData.Bytes())
    	var cgroups []Cgroup
    	scanner := bufio.NewScanner(reader)
    
    	for scanner.Scan() {
    		token := scanner.Text()
    		substrings := strings.SplitN(token, ":", 3)
    		if len(substrings) < 3 {
    			return nil, fmt.Errorf("cgroup entry contains %v colons, but expected at least 2 colons: %q", len(substrings), token)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. cmd/metacache-entries.go

    	// name is the full name of the object including prefixes
    	name string
    	// Metadata. If none is present it is not an object but only a prefix.
    	// Entries without metadata will only be present in non-recursive scans.
    	metadata []byte
    
    	// cached contains the metadata if decoded.
    	cached *xlMetaV2
    
    	// Indicates the entry can be reused and only one reference to metadata is expected.
    	reusable bool
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  8. cmd/iam-object-store.go

    	if !ok {
    		// There has been no store yet. This should never happen!
    		iamLogIf(GlobalContext, errors.New("WARNING: no cached IAM listing found"))
    		return nil
    	}
    
    	// Scan STS users on disk and purge expired ones. We do not need to hold a
    	// lock with store.lock() here.
    	stsAccountsFromStore := map[string]UserIdentity{}
    	stsAccPoliciesFromStore := xsync.NewMapOf[string, MappedPolicy]()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  9. go.sum

    github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I=
    github.com/go-openapi/swag v0.17.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg=
    github.com/go-openapi/swag v0.18.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg=
    github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk=
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 15:22:54 GMT 2024
    - 109.1K bytes
    - Viewed (0)
  10. RELEASE.md

    *   TensorFlow Windows Build:
    
        *   Clang is now the default compiler to build TensorFlow CPU wheels on the
            Windows Platform starting with this release. The currently supported
            version is LLVM/clang 17. The official Wheels-published on PyPI will be
            based on Clang; however, users retain the option to build wheels using
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
Back to top