Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,423 for Trailing (0.12 sec)

  1. src/strconv/example_test.go

    	s, err := strconv.QuotedPrefix("not a quoted string")
    	fmt.Printf("%q, %v\n", s, err)
    	s, err = strconv.QuotedPrefix("\"double-quoted string\" with trailing text")
    	fmt.Printf("%q, %v\n", s, err)
    	s, err = strconv.QuotedPrefix("`or backquoted` with more trailing text")
    	fmt.Printf("%q, %v\n", s, err)
    	s, err = strconv.QuotedPrefix("'\u263a' is also okay")
    	fmt.Printf("%q, %v\n", s, err)
    
    	// Output:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 22:57:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    		{
    			path:   "/bucket/object/1/",
    			bucket: "bucket",
    			object: "object/1/",
    		},
    		// Test case 5 object has many trailing separators.
    		{
    			path:   "/bucket/object/1///",
    			bucket: "bucket",
    			object: "object/1///",
    		},
    		// Test case 6 object has only trailing separators.
    		{
    			path:   "/bucket/object///////",
    			bucket: "bucket",
    			object: "object///////",
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo.go

    var NamespaceSubResourcesForTest = sets.NewString(namespaceSubresources.List()...)
    
    type RequestInfoFactory struct {
    	APIPrefixes          sets.String // without leading and trailing slashes
    	GrouplessAPIPrefixes sets.String // without leading and trailing slashes
    }
    
    // TODO write an integration test against the swagger doc to test the RequestInfo and match up behavior to responses
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 13:24:29 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/TarCopyAction.java

                }
            }
    
            private void visitDir(FileCopyDetails dirDetails) {
                try {
                    // Trailing slash on name indicates entry is a directory
                    TarArchiveEntry archiveEntry = new TarArchiveEntry(dirDetails.getRelativePath().getPathString() + '/');
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 08 14:16:53 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. src/math/trig_reduce.go

    // is set by y*C being representable as a float64 without error
    // where y is given by y = floor(x * (4 / Pi)) and C is the leading partial
    // terms of 4/Pi. Since the leading terms (PI4A and PI4B in sin.go) have 30
    // and 32 trailing zero bits, y should have less than 30 significant bits.
    //
    //	y < 1<<30  -> floor(x*4/Pi) < 1<<30 -> x < (1<<30 - 1) * Pi/4
    //
    // So, conservatively we can take x < 1<<29.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  7. internal/s3select/sql/parser_test.go

    		"substring('abcd' , 2 , 2)",
    
    		"substring('abcd' , 22 )",
    		"trim('  aab  ')",
    		"trim(leading from '  aab  ')",
    		"trim(trailing from '  aab  ')",
    		"trim(both from '  aab  ')",
    
    		"trim(both '12' from '  aab  ')",
    		"trim(leading '12' from '  aab  ')",
    		"trim(trailing '12' from '  aab  ')",
    		"count(23)",
    	}
    	for i, tc := range validCases {
    		err := p.ParseString(tc, &fex)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. 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)
  9. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Always append the delimiter after the component, and in the very end shortens the buffer to get
       * rid of the extra trailing delimiter.
       */
      @Benchmark
      int alwaysAppendThenBackUp(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/return.go

    			break
    		}
    		if s.Cond == nil && !hasBreak(s.Body, label, true) {
    			return true
    		}
    	}
    
    	return false
    }
    
    func (check *Checker) isTerminatingList(list []syntax.Stmt, label string) bool {
    	// trailing empty statements are permitted - skip them
    	for i := len(list) - 1; i >= 0; i-- {
    		if _, ok := list[i].(*syntax.EmptyStmt); !ok {
    			return check.isTerminating(list[i], label)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top