Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Trailing (0.15 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. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    for arithmetic operations. Two shapes are compatible if for each
    dimension pair they are either equal or one of them is one. When trying
    to broadcast a Tensor to a shape, it starts with the trailing dimensions,
    and works its way forward.
    
    For example,
    
    >>> x = tf.constant([1, 2, 3])
    >>> y = tf.broadcast_to(x, [3, 3])
    >>> print(y)
    tf.Tensor(
        [[1 2 3]
         [1 2 3]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure-helper.sh

      IFS=' ' read -ra FLAGS <<< "$1"
      params=""
      for flag in "${FLAGS[@]}"; do
        params+="\n\"$flag\","
      done
      if [ -n "$params" ]; then
        echo "${params::-1}"  #  drop trailing comma
      fi
    }
    
    function append-param-if-not-present {
      # A helper function to add flag to an arguments string
      # if no such flag is present already
      local params="$1"
      local -r flag="$2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			break
    		}
    		prefix = append(prefix, byte('\t'))
    	}
    	// Remove prefix from all tabs, fail otherwise.
    	for i := range lines {
    		line := lines[i]
    		// It's OK for the last line to be blank (trailing \n)
    		if i == len(lines)-1 && len(line) <= len(prefix) && bytes.TrimSpace(line) == nil {
    			lines[i] = []byte{}
    			break
    		}
    		if !bytes.HasPrefix(line, prefix) {
    			minRange := i - 5
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    			secretKey:        credentials.SecretKey,
    
    			expectedRespStatus: http.StatusBadRequest,
    		},
    
    		// Test case - 8.
    		// Test case with non-existent source file.
    		// Case for the purpose of failing `api.ObjectAPI.GetObjectInfo`.
    		// Expecting the response status code to http.StatusNotFound (404).
    		{
    			bucketName:       bucketName,
    			uploadID:         uploadID,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      let summary = "Updates inputs to TPU embedding enqueue ops depending on whether graph is in training mode or in evaluation mode.";
    
      let description = [{
        Updates inputs to TPU embedding enqueue ops depending on whether graph
        is in training mode or in evaluation mode.
      }];
    
      let constructor = "TFTPU::CreateTPUUpdateEmbeddingEnqueueOpInputsPass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods.go

    		case images.ErrImagePullBackOff.Error():
    			return kubecontainer.ContainerID{}, fmt.Errorf("container %q in pod %q is waiting to start: trying and failing to pull image", containerName, podName)
    		default:
    			return kubecontainer.ContainerID{}, fmt.Errorf("container %q in pod %q is waiting to start: %v", containerName, podName, reason)
    		}
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top