Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for leading (4.58 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/metacache-set.go

    	case metacacheSharePrefix:
    		return
    	case o.Prefix == o.BaseDir:
    		// No additional prefix
    		return
    	}
    	// Remove basedir.
    	o.FilterPrefix = strings.TrimPrefix(o.Prefix, o.BaseDir)
    	// Remove leading and trailing slashes.
    	o.FilterPrefix = strings.Trim(o.FilterPrefix, slashSeparator)
    
    	if strings.Contains(o.FilterPrefix, slashSeparator) {
    		// Sanity check, should not happen.
    		o.FilterPrefix = ""
    	}
    }
    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)
  5. 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)
  6. 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)
  7. cmd/xl-storage-format-utils_test.go

    			transfi.TransitionTier = "MINIO-TIER"
    			transfi.TransitionedObjName = mustGetUUID()
    			xl.DeleteVersion(transfi)
    
    			fi.SetTierFreeVersionID(mustGetUUID())
    			// delete this version leading to a free version
    			xl.DeleteVersion(fi)
    			freeVersionIDs = append(freeVersionIDs, fi.TierFreeVersionID())
    		} else {
    			versions = append(versions, fi)
    		}
    	}
    	buf, err := xl.AppendTo(nil)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Sep 02 14:49:24 GMT 2023
    - 6K bytes
    - Viewed (0)
  8. internal/s3select/csv/reader.go

    		ret.FieldsPerRecord = -1
    		// If LazyQuotes is true, a quote may appear in an unquoted field and a
    		// non-doubled quote may appear in a quoted field.
    		ret.LazyQuotes = true
    		// We do not trim leading space to keep consistent with s3.
    		ret.TrimLeadingSpace = false
    		ret.ReuseRecord = true
    		return ret
    	}
    
    	return r, r.startReaders(newCsvReader)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. internal/s3select/json/preader_test.go

    			}
    			r := NewPReader(f, &ReaderArgs{})
    			var record sql.Record
    			for {
    				record, err = r.Read(record)
    				if err != nil {
    					break
    				}
    			}
    			r.Close()
    			if err != io.EOF {
    				t.Fatalf("Reading failed with %s, %s", err, file.Name())
    			}
    		})
    
    		t.Run(file.Name()+"-close", func(t *testing.T) {
    			f, err := os.Open(filepath.Join("testdata", file.Name()))
    			if err != nil {
    				t.Fatal(err)
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  10. docs/metrics/README.md

    Read more on how to use these endpoints in [MinIO healthcheck guide](https://github.com/minio/minio/blob/master/docs/metrics/healthcheck/README.md).
    
    ## Prometheus Probe
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 29 18:35:20 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top