Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Trailing (0.16 sec)

  1. src/net/http/server.go

    // The patterns conflict.
    //
    // # Trailing-slash redirection
    //
    // Consider a [ServeMux] with a handler for a subtree, registered using a trailing slash or "..." wildcard.
    // If the ServeMux receives a request for the subtree root without a trailing slash,
    // it redirects the request by adding the trailing slash.
    // This behavior can be overridden with a separate registration for the path without
    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. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        // Transpose image to get it into NWHC form (where H is the added dim).
        SmallVector<int64_t, 4> image_permutation = {
            dnums.getInputBatchDimension(), dnums.getInputSpatialDimensions()[0],
            3,  // The trailing dim that we added.
            dnums.getInputFeatureDimension()};
        auto image_permutation_and_shape = GetPermutationAndTransposedShape(
            image_permutation, image_2d_type, rewriter);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        if (input_shape[i] == 1) {
          ++num_leading_broadcast_dims;
        } else {
          break;
        }
      }
      return num_leading_broadcast_dims;
    }
    
    // Return the number of trailing 1s in the shape of the given input.
    // Ex. input_shape = [1 x 1 x 2 x 1] => 1
    // returns 0 if the input shape is not static.
    int GetNumTrailingOnes(ShapedType input_type) {
      if (!input_type.hasStaticShape()) return 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. pkg/apis/admissionregistration/validation/validation_test.go

    					Name:      "n",
    					Path:      strPtr("/"),
    					Port:      443,
    				},
    			},
    			SideEffects: &noSideEffect,
    		},
    		}, true),
    		expectedError: ``,
    	}, {
    		name: "path accepts no trailing slash",
    		config: newValidatingWebhookConfiguration([]admissionregistration.ValidatingWebhook{{
    			Name: "webhook.k8s.io",
    			ClientConfig: admissionregistration.WebhookClientConfig{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  5. src/cmd/go/alldocs.go

    //		directives whose full original source text (excluding
    //		any trailing spaces and final newline) matches the
    //		expression.
    //
    //	-skip=""
    //		if non-empty, specifies a regular expression to suppress
    //		directives whose full original source text (excluding
    //		any trailing spaces and final newline) matches the
    //		expression. If a directive matches both the -run and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  6. src/crypto/x509/x509_test.go

    		}, {
    			derBytes: []byte{
    				0x30, 6, // SEQUENCE
    				0x02, 1, // INTEGER, 1 byte
    				17,
    				0x02, 1, // INTEGER, 1 byte
    				3,
    				1,
    			},
    			expectedErrSubstr: "trailing data",
    		}, {
    			derBytes: []byte{
    				0x30, 9, // SEQUENCE
    				0x02, 1, // INTEGER, 1 byte
    				17,
    				0x02, 4, // INTEGER, 4 bytes
    				0x7f, 0xff, 0xff, 0xff,
    			},
    		}, {
    			derBytes: []byte{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/exec.go

    			continue
    		}
    
    		flag = append(flag, c)
    	}
    
    	// Prefer to report a missing quote instead of a missing escape. If the string
    	// is something like `"foo\`, it's ambiguous as to whether the trailing
    	// backslash is really an escape at all.
    	if quote != 0 {
    		return nil, errors.New("unterminated quoted string in pkgconf output")
    	}
    	if escaped {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    			}`,
    			fetchKeysFromRemote: true,
    			want: &user.DefaultInfo{
    				Name: "jane",
    			},
    		},
    		{
    			name: "discovery url and issuer url have paths, issuer url has trailing slash",
    			options: Options{
    				JWTAuthenticator: apiserver.JWTAuthenticator{
    					Issuer: apiserver.Issuer{
    						URL:          "https://auth.example.com/a/b/foo/",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  9. src/reflect/all_test.go

    		o1 := st.Field(i).Offset
    		o2 := stt.Field(i).Offset
    		if o1 != o2 {
    			t.Errorf("constructed struct field %v offset = %v, want %v", i, o1, o2)
    		}
    	}
    
    	// Check size and alignment with a trailing zero-sized field.
    	st = StructOf([]StructField{
    		{
    			Name: "F1",
    			Type: TypeOf(byte(0)),
    		},
    		{
    			Name: "F2",
    			Type: TypeOf([0]*byte{}),
    		},
    	})
    	stt = TypeOf(struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  10. src/net/http/serve_test.go

    			if got, want := w.HeaderMap.Get("Result"), tt.want; got != want {
    				t.Errorf("#%d: Result = %q; want = %q", i, got, want)
    			}
    		}
    	}
    }
    
    // Test that we don't attempt trailing-slash redirect on a path that already has
    // a trailing slash.
    // See issue #65624.
    func TestMuxNoSlashRedirectWithTrailingSlash(t *testing.T) {
    	mux := NewServeMux()
    	mux.HandleFunc("/{x}/", func(w ResponseWriter, r *Request) {
    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