Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for a$b (0.13 sec)

  1. src/net/http/server.go

    	// match a path with a trailing slash.
    	// For the match to be exact, the number of pattern
    	// segments should be the same as the number of slashes in the path.
    	// E.g. "/a/b/{$}" and "/a/b/{...}" exactly match "/a/b/", but "/a/" does not.
    	return len(n.pattern.segments) == strings.Count(path, "/")
    }
    
    // matchingMethods return a sorted list of all methods that would match with the given host and path.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  2. pkg/scheduler/schedule_one_test.go

    						}
    						return framework.NewStatus(framework.Unschedulable, fmt.Sprintf("node %q is not allowed", node.Node().Name))
    					}},
    				},
    			},
    			nodes:                 makeNodeList([]string{"a", "b"}),
    			filteredNodesStatuses: make(framework.NodeToStatusMap),
    			expectsErr:            false,
    			expectedNodes:         makeNodeList([]string{"a"}),
    			expectedStatuses: framework.NodeToStatusMap{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/generic.rules

    (Mod64 <t> n (Const64 [c])) && c < 0 && c != -1<<63 => (Mod64 <t> n (Const64 <t> [-c]))
    
    // All other mods by constants, do A%B = A-(A/B*B).
    // This implements % with two * and a bunch of ancillary ops.
    // One of the * is free if the user's code also computes A/B.
    (Mod8   <t> x (Const8  [c])) && x.Op != OpConst8  && (c > 0 || c == -1<<7)
      => (Sub8  x (Mul8  <t> (Div8   <t> x (Const8  <t> [c])) (Const8  <t> [c])))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  4. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	t.Helper()
    	var actualUIDs []types.UID
    	for uid := range q.inFlightPods {
    		actualUIDs = append(actualUIDs, uid)
    	}
    	sortUIDs := cmpopts.SortSlices(func(a, b types.UID) bool { return a < b })
    	if diff := cmp.Diff(uids, actualUIDs, sortUIDs); diff != "" {
    		t.Fatalf("Unexpected content of inFlightPods (-want, +have):\n%s", diff)
    	}
    	actualUIDs = nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    	// this option is set when active-active replication is in place between site A -> B,
    	// and site B does not have the object yet.
    	if opts.ProxyRequest || (opts.ProxyHeaderSet && !opts.ProxyRequest) { // true only when site B sets MinIOSourceProxyRequest header
    		return nil, oi, proxy
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/ppc64/asm9.go

    //
    // Argument comparison isn't reflexitive, so care must be taken.
    // a is the argument type as found in optab, b is the argument as
    // fitted by aclass.
    func cmp(a int, b int) bool {
    	if a == b {
    		return true
    	}
    	switch a {
    
    	case C_SPR:
    		if b == C_LR || b == C_CTR {
    			return true
    		}
    
    	case C_U1CON:
    		return cmp(C_ZCON, b)
    	case C_U2CON:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller_test.go

    			},
    			wantRmFinalizers: 4,
    			wantStatusUpdates: []batch.JobStatus{
    				{
    					Active: 1,
    					UncountedTerminatedPods: &batch.UncountedTerminatedPods{
    						Failed: []types.UID{"a", "b", "c"},
    					},
    				},
    				{
    					Active:                  1,
    					Failed:                  3,
    					UncountedTerminatedPods: &batch.UncountedTerminatedPods{},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    			closer.Close()
    		}
    	})
    }
    
    func toSnake(camel string) (snake string) {
    	var b strings.Builder
    	l := len(camel)
    	for i, v := range camel {
    		// A is 65, a is 97
    		if v >= 'a' {
    			b.WriteRune(v)
    			continue
    		}
    		// v is capital letter here
    		// disregard first letter
    		// add underscore if last letter is capital letter
    		// add underscore when previous letter is lowercase
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/load/pkg.go

    // hasGoFiles reports whether dir contains any files with names ending in .go.
    // For a vendor check we must exclude directories that contain no .go files.
    // Otherwise it is not possible to vendor just a/b/c and still import the
    // non-vendored a/b. See golang.org/issue/13832.
    func hasGoFiles(dir string) bool {
    	files, _ := os.ReadDir(dir)
    	for _, f := range files {
    		if !f.IsDir() && strings.HasSuffix(f.Name(), ".go") {
    			return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  10. src/net/http/serve_test.go

    		}
    		defer res.Body.Close()
    		slurp, err := io.ReadAll(res.Body)
    		if err != nil {
    			t.Fatal(err)
    		}
    		return string(slurp)
    	}
    	a, b := get(), get()
    	if a != b {
    		t.Errorf("Failed to reuse connections between requests: %v vs %v", a, b)
    	}
    }
    
    // Test that we validate the Host header.
    // Issue 11206 (invalid bytes in Host) and 13624 (Host present in HTTP/1.1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top