Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for Trailing (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		{name: "BLSRL", argLength: 1, reg: gp11flags, asm: "BLSRL", typ: "(UInt32,Flags)"}, // arg0 & (arg0 - 1)
    		// count the number of trailing zero bits, prefer TZCNTQ over BSFQ, as TZCNTQ(0)==64
    		// and BSFQ(0) is undefined. Same for TZCNTL(0)==32
    		{name: "TZCNTQ", argLength: 1, reg: gp11, asm: "TZCNTQ", clobberFlags: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  5. 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)
  6. 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)
  7. src/cmd/go/internal/load/pkg.go

    			i = 0
    		} else {
    			i = bytes.Index(data, modulePrefix)
    			if i < 0 {
    				return ""
    			}
    			i++
    		}
    		line := data[i:]
    
    		// Cut line at \n, drop trailing \r if present.
    		if j := bytes.IndexByte(line, '\n'); j >= 0 {
    			line = line[:j]
    		}
    		if line[len(line)-1] == '\r' {
    			line = line[:len(line)-1]
    		}
    		line = line[len("module "):]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  8. fastapi/applications.py

                    @app.get("/items/")
                    async def read_items():
                        return [{"item_id": "Foo"}]
                    ```
    
                    With this app, if a client goes to `/items` (without a trailing slash),
                    they will be automatically redirected with an HTTP status code of 307
                    to `/items/`.
                    """
                ),
            ] = True,
            docs_url: Annotated[
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: File Crawling */
        public static final String LABELS_file_crawling_configuration = "{labels.file_crawling_configuration}";
    
        /** The key of the message: File Crawling Configuration */
        public static final String LABELS_file_crawling_title_details = "{labels.file_crawling_title_details}";
    
        /** The key of the message: Included Paths For Crawling */
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 146.4K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/x86/asm6.go

    func (ab *AsmBuf) Put(b []byte) {
    	copy(ab.buf[ab.off:], b)
    	ab.off += len(b)
    }
    
    // PutOpBytesLit writes zero terminated sequence of bytes from op,
    // starting at specified offset (e.g. z counter value).
    // Trailing 0 is not written.
    //
    // Intended to be used for literal Z cases.
    // Literal Z cases usually have "Zlit" in their name (Zlit, Zlitr_m, Zlitm_r).
    func (ab *AsmBuf) PutOpBytesLit(offset int, op *opBytes) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top