Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for leading (0.17 sec)

  1. src/archive/tar/strconv.go

    	f.err = ErrFieldTooLong
    }
    
    func (p *parser) parseOctal(b []byte) int64 {
    	// Because unused fields are filled with NULs, we need
    	// to skip leading NULs. Fields may also be padded with
    	// spaces or NULs.
    	// So we remove leading and trailing NULs and spaces to
    	// be sure.
    	b = bytes.Trim(b, " \x00")
    
    	if len(b) == 0 {
    		return 0
    	}
    	x, perr := strconv.ParseUint(p.parseString(b), 8, 64)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    }
    
    // UnaryTerm represents a single negated term or a primary term
    type UnaryTerm struct {
    	Negated *NegatedTerm `parser:"  @@"`
    	Primary *PrimaryTerm `parser:"| @@"`
    }
    
    // NegatedTerm has a leading minus sign.
    type NegatedTerm struct {
    	Term *PrimaryTerm `parser:"\"-\" @@"`
    }
    
    // PrimaryTerm represents a Value, Path expression, a Sub-expression
    // or a function call.
    type PrimaryTerm struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  3. cni/pkg/ipset/nldeps_linux.go

    	}
    	return nil
    }
    
    // Alpine and some distros struggles with this - ipset CLI utilities support this, but
    // the kernel can be out of sync with the CLI utility, leading to errors like:
    //
    // ipset v7.10: Argument `comment' is supported in the kernel module of the set type hash:ip
    // starting from the revision 3 and you have installed revision 1 only.
    // Your kernel is behind your ipset utility.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. cmd/object-api-utils_test.go

    		{"!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", true},
    		{"␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟␡", true},
    		{"trailing VT␋/trailing VT␋", true},
    		{"␋leading VT/␋leading VT", true},
    		{"~leading tilde", true},
    		{"\rleading CR", true},
    		{"\nleading LF", true},
    		{"\tleading HT", true},
    		{"trailing CR\r", true},
    		{"trailing LF\n", true},
    		{"trailing HT\t", true},
    		// cases for which test should fail.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/informers.go

    	// test flakes with the fake kube client in `pkg/kube/client.go` -
    	// because we are using `List()` in the handler, without this requeue,
    	// the fake client will sometimes drop pod events leading to test flakes.
    	//
    	// WaitForCacheSync *helps*, but does not entirely fix this problem
    	s.namespaces = kclient.New[*corev1.Namespace](kubeClient)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. cni/pkg/repair/repair_test.go

    			},
    			makeDetectPod(
    				"TerminationMessageMatchTrue",
    				"Termination Message",
    				0),
    			true,
    		},
    		{
    			"Check termination message match true for trailing and leading space",
    			config.RepairConfig{
    				SidecarAnnotation:  "sidecar.istio.io/status",
    				InitContainerName:  constants.ValidationContainerName,
    				InitTerminationMsg: "            Termination Message",
    			},
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  7. cmd/object-handlers-common.go

    	// use mtime < t+1s instead of mtime <= t to check for unmodified.
    	return objTime.After(givenTime.Add(1 * time.Second))
    }
    
    // canonicalizeETag returns ETag with leading and trailing double-quotes removed,
    // if any present
    func canonicalizeETag(etag string) string {
    	return etagRegex.ReplaceAllString(etag, "$1")
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  8. internal/config/cache/remote.go

    }
    
    // IsSet tells the cache lookup to avoid sending a request
    func (r *CondCheck) IsSet() bool {
    	if r == nil {
    		return false
    	}
    	return r.IfMatch != "" || r.IfNoneMatch != "" || r.IfModifiedSince != nil || r.IfUnModifiedSince != nil || r.IfRange != ""
    }
    
    var etagRegex = regexp.MustCompile("\"*?([^\"]*?)\"*?$")
    
    // canonicalizeETag returns ETag with leading and trailing double-quotes removed,
    // if any present
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 22 21:46:17 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  9. internal/config/certs.go

    func ParsePublicCertFile(certFile string) (x509Certs []*x509.Certificate, err error) {
    	// Read certificate file.
    	var data []byte
    	if data, err = os.ReadFile(certFile); err != nil {
    		return nil, err
    	}
    
    	// Trimming leading and tailing white spaces.
    	data = bytes.TrimSpace(data)
    
    	// Parse all certs in the chain.
    	current := data
    	for len(current) > 0 {
    		var pemBlock *pem.Block
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  10. src/archive/zip/writer.go

    // It returns a [Writer] to which the file contents should be written.
    // The file contents will be compressed using the [Deflate] method.
    // The name must be a relative path: it must not start with a drive
    // letter (e.g. C:) or leading slash, and only forward slashes are
    // allowed. To create a directory instead of a file, add a trailing
    // slash to the name.
    // The file's contents must be written to the [io.Writer] before the next
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top