Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for fountain (0.38 sec)

  1. internal/arn/arn.go

    	if ps[4] != "" {
    		err = errors.New("invalid ARN - unsupported account-id field")
    		return
    	}
    
    	res := strings.SplitN(ps[5], "/", 2)
    	if len(res) != 2 {
    		err = errors.New("invalid ARN - resource does not contain a \"/\"")
    		return
    	}
    
    	if res[0] != string(arnResourceTypeRole) {
    		err = errors.New("invalid ARN: resource type is invalid")
    		return
    	}
    
    	if !validResourceIDRegex.MatchString(res[1]) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. internal/s3select/sql/funceval.go

    		// needed.
    		// String might contain trimming spaces, which
    		// needs to be trimmed.
    		res, ok := strToInt(strings.TrimSpace(x))
    		if !ok {
    			return 0, errCastFailure("could not parse as int")
    		}
    		return res, nil
    	case []byte:
    		// Parse as number, truncate floating point if
    		// needed.
    		// String might contain trimming spaces, which
    		// needs to be trimmed.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  3. misc/go_android_exec/main.go

    		f.buf.Next(match[0])
    		if err != nil {
    			return n, err
    		}
    	}
    	return n, nil
    }
    
    func (f *exitCodeFilter) Finish() (int, error) {
    	// f.buf could be empty, contain a partial match of exitRe, or
    	// contain a full match.
    	b := f.buf.Bytes()
    	defer f.buf.Reset()
    	match := f.exitRe.FindSubmatch(b)
    	if len(match) < 2 || match[1] == nil {
    		// Not a full match. Flush.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  4. cmd/metacache-walk.go

    	// ReportNotFound will return errFileNotFound if all disks reports the BaseDir cannot be found.
    	ReportNotFound bool
    
    	// FilterPrefix will only return results with given prefix within folder.
    	// Should never contain a slash.
    	FilterPrefix string
    
    	// ForwardTo will forward to the given object path.
    	ForwardTo string
    
    	// Limit the number of returned objects if > 0.
    	Limit int
    
    	// DiskID contains the disk ID of the disk.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. misc/cgo/gmp/gmp.go

    The stanza
    
    	// #include <gmp.h>
    	import "C"
    
    is a signal to cgo.  The doc comment on the import of "C" provides
    additional context for the C file.  Here it is just a single #include
    but it could contain arbitrary C definitions to be imported and used.
    
    Cgo recognizes any use of a qualified identifier C.xxx and uses gcc to
    find the definition of xxx.  If xxx is a type, cgo replaces C.xxx with
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    		}
    	}
    }
    
    // handleRegularFile sets up the current file reader and padding such that it
    // can only read the following logical data section. It will properly handle
    // special headers that contain no data section.
    func (tr *Reader) handleRegularFile(hdr *Header) error {
    	nb := hdr.Size
    	if isHeaderOnlyType(hdr.Typeflag) {
    		nb = 0
    	}
    	if nb < 0 {
    		return ErrHeader
    	}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  7. cmd/metacache-set.go

    	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
    
    	// Marker to resume listing.
    	// The response will be the first entry >= this object name.
    	Marker string
    
    	// Limit the number of results.
    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)
  8. cmd/erasure-multipart.go

    	}, nil
    }
    
    // GetMultipartInfo returns multipart metadata uploaded during newMultipartUpload, used
    // by callers to verify object states
    // - encrypted
    // - compressed
    // Does not contain currently uploaded parts by design.
    func (er erasureObjects) GetMultipartInfo(ctx context.Context, bucket, object, uploadID string, opts ObjectOptions) (MultipartInfo, error) {
    	if !opts.NoAuditLog {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    		if anonParam != anonymizeStrict {
    			return addr
    		}
    		newAddr, found := hostAnonymizer[addr]
    		if found {
    			return newAddr
    		}
    
    		// If we reach here, it means that the given addr doesn't contain any of the hosts.
    		// Return it as is. Can happen for drive paths in non-distributed mode
    		return addr
    	}
    
    	// anonymizedAddr - Updated the addr of the node info with anonymized one
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  10. istioctl/pkg/multixds/google.go

    	if !strings.HasSuffix(ret.host, ":443") {
    		ret.host += ":443"
    	}
    	const projSeg = "/projects/"
    	i := strings.Index(u.Path, projSeg)
    	if i == -1 {
    		return nil, fmt.Errorf("webhook URL %s doesn't contain the projects segment", u)
    	}
    	i += len(projSeg)
    	j := strings.IndexByte(u.Path[i:], '/')
    	if j == -1 {
    		return nil, fmt.Errorf("webhook URL %s is malformed", u)
    	}
    	ret.gcpProject = u.Path[i : i+j]
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 1.5K bytes
    - Viewed (1)
Back to top