Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for redirection (0.17 sec)

  1. src/net/http/server.go

    // If the url argument is non-nil, handler also deals with trailing-slash
    // redirection: when a path doesn't match exactly, the match is tried again
    // after appending "/" to the path. If that second match succeeds, the last
    // return value is the URL to redirect to.
    func (mux *ServeMux) matchOrRedirect(host, method, path string, u *url.URL) (_ *routingNode, matches []string, redirectTo *url.URL) {
    	mux.mu.RLock()
    	defer mux.mu.RUnlock()
    
    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. src/net/http/serve_test.go

    	setParallel(t)
    	mux := NewServeMux()
    	for _, e := range serveMuxRegister {
    		mux.Handle(e.pattern, e.h)
    	}
    
    	for _, tt := range serveMuxTests2 {
    		tries := 1 // expect at most 1 redirection if redirOk is true.
    		turl := tt.url
    		for {
    			u, e := url.Parse(turl)
    			if e != nil {
    				t.Fatal(e)
    			}
    			r := &Request{
    				Method: tt.method,
    				Host:   tt.host,
    				URL:    u,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_test.go

    	}
    }
    
    func TestTelemetryMetadata(t *testing.T) {
    	cases := []struct {
    		name      string
    		direction model.TrafficDirection
    		cluster   *cluster.Cluster
    		svcInsts  []model.ServiceTarget
    		service   *model.Service
    		want      *core.Metadata
    	}{
    		{
    			name:      "no cluster",
    			direction: model.TrafficDirectionInbound,
    			cluster:   nil,
    			svcInsts: []model.ServiceTarget{
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_builder_test.go

    		endpoints       []*endpoint.LocalityLbEndpoints
    		direction       model.TrafficDirection
    		external        bool
    		expectedCluster *cluster.Cluster
    	}{
    		{
    			name:        "default EDS cluster",
    			clusterName: "foo",
    			discovery:   cluster.Cluster_EDS,
    			endpoints:   nil,
    			direction:   model.TrafficDirectionOutbound,
    			external:    false,
    			expectedCluster: &cluster.Cluster{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      let options = [
        Option<"fold_transpose_in_ops_", "fold-transpose-in-ops", "bool", /*default=*/"true",
               "Whether to fold transposes in ops which can support folding.">,
        Option<"direction_", "direction", "enum MoveTransposeDirection",
               /*default=*/"MoveTransposeDirection::kBegin", "Move transposes to the beginning or"
               " the end of the block where they are defined.",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/data.go

    //			000000000000013d:  IMAGE_REL_AMD64_REL32	_errno
    //
    // The assembly below dispenses with the import symbol and just makes
    // a direct call to _errno.
    //
    // The code below handles indirect refs by redirecting the target of
    // the relocation from "__imp_XYZ" to "XYZ" (since the latter symbol
    // is what the Windows loader is expected to resolve). For direct refs
    // the call is redirected to a stub, where the stub first loads the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top