Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 724 for Trailing (0.12 sec)

  1. src/net/lookup_test.go

    				break
    			}
    		}
    	}
    
    	cname, err := LookupCNAME("www.mit.edu")
    	if err != nil {
    		t.Errorf("LookupCNAME(www.mit.edu, mode=%v): %v", mode, err)
    	} else if !strings.HasSuffix(cname, ".") {
    		t.Errorf("LookupCNAME(www.mit.edu) = %v, want cname ending in . with trailing dot (mode=%v)", cname, mode)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  2. src/net/http/pattern_test.go

    		want   relationship
    	}{
    		// A non-final pattern segment can have one of two values: literal or
    		// single wildcard. A final pattern segment can have one of 5: empty
    		// (trailing slash), literal, dollar, single wildcard, or multi
    		// wildcard. Trailing slash and multi wildcard are the same.
    
    		// A literal should be more specific than anything it overlaps, except itself.
    		{"/a", "/a", equivalent},
    		{"/a", "/b", disjoint},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/go/printer/printer.go

    	// output is buffered in p.output now.
    	// fix //go:build and // +build comments if needed.
    	p.fixGoBuildLines()
    
    	// redirect output through a trimmer to eliminate trailing whitespace
    	// (Input to a tabwriter must be untrimmed since trailing tabs provide
    	// formatting information. The tabwriter could provide trimming
    	// functionality but no tabwriter is used when RawFormat is set.)
    	output = &trimmer{output: output}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  4. src/strings/replace.go

    //	n7  .y+
    //
    // n0 is the root node, and its children are n1, n4 and n6; n1's children are
    // n2 and n3; n4's child is n5; n6's child is n7. Nodes n0, n1 and n4 (marked
    // with a trailing "-") are partial keys, and nodes n2, n3, n5, n6 and n7
    // (marked with a trailing "+") are complete keys.
    type trieNode struct {
    	// value is the value of the trie node's key/value pair. It is empty if
    	// this node is not a complete key.
    	value string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:10:31 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  5. src/text/template/parse/lex.go

    // does the job.
    const (
    	spaceChars    = " \t\r\n"  // These are the space characters defined by Go itself.
    	trimMarker    = '-'        // Attached to left/right delimiter, trims trailing spaces from preceding/following text.
    	trimMarkerLen = Pos(1 + 1) // marker plus space before or after
    )
    
    // stateFn represents the state of the scanner as a function that returns the next state.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 04 22:36:12 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  6. internal/s3select/sql/parser.go

    	From     *PrimaryTerm `parser:" \"FROM\" @@ \")\" "`
    }
    
    // TrimFunc represents TRIM sql function
    type TrimFunc struct {
    	TrimWhere *string      `parser:" \"TRIM\" \"(\" ( @( \"LEADING\" | \"TRAILING\" | \"BOTH\" ) "`
    	TrimChars *PrimaryTerm `parser:"             @@?  "`
    	TrimFrom  *PrimaryTerm `parser:"             \"FROM\" )? @@ \")\" "`
    }
    
    // DateAddFunc represents the DATE_ADD function
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. src/strings/strings.go

    func TrimLeftFunc(s string, f func(rune) bool) string {
    	i := indexFunc(s, f, false)
    	if i == -1 {
    		return ""
    	}
    	return s[i:]
    }
    
    // TrimRightFunc returns a slice of the string s with all trailing
    // Unicode code points c satisfying f(c) removed.
    func TrimRightFunc(s string, f func(rune) bool) string {
    	i := lastIndexFunc(s, f, false)
    	if i >= 0 && s[i] >= utf8.RuneSelf {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  8. src/encoding/pem/pem_test.go

    var pemRepeatingBegin = strings.Repeat("-----BEGIN \n", 10)
    
    var badPEMTests = []struct {
    	name  string
    	input string
    }{
    	{
    		"too few trailing dashes",
    		pemTooFewEndingDashes,
    	},
    	{
    		"too many trailing dashes",
    		pemTooManyEndingDashes,
    	},
    	{
    		"trailing non-whitespace",
    		pemTrailingNonWhitespace,
    	},
    	{
    		"incorrect ending type",
    		pemWrongEndingType,
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:56:00 UTC 2022
    - 23.5K bytes
    - Viewed (0)
  9. cmd/metacache-walk.go

    		objReturned(entry.metadata)
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		case out <- entry:
    		}
    		return nil
    	}
    
    	// Fast exit track to check if we are listing an object with
    	// a trailing slash, this will avoid to list the object content.
    	if HasSuffix(opts.BaseDir, SlashSeparator) {
    		metadata, err := s.readMetadata(ctx, pathJoin(volumeDir,
    			opts.BaseDir[:len(opts.BaseDir)-1]+globalDirSuffix,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go

    	}
    	return errs
    }
    
    // IsFullyQualifiedName checks if the name is fully qualified. This is similar
    // to IsFullyQualifiedDomainName but requires a minimum of 3 segments instead of
    // 2 and does not accept a trailing . as valid.
    // TODO: This function is deprecated and preserved until all callers migrate to
    // IsFullyQualifiedDomainName; please don't add new callers.
    func IsFullyQualifiedName(fldPath *field.Path, name string) field.ErrorList {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 16:08:43 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top