Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 96 for isLegal (0.16 sec)

  1. cmd/api-errors.go

    // descriptions for all the error responses.
    var errorCodes = errorCodeMap{
    	ErrInvalidCopyDest: {
    		Code:           "InvalidRequest",
    		Description:    "This copy request is illegal because it is trying to copy an object to itself without changing the object's metadata, storage class, website redirect location or encryption attributes.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCopySource: {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (1)
  2. src/cmd/compile/internal/types2/expr.go

    			x.mode = invalid
    		}
    	}
    }
    
    // op2tok translates syntax.Operators into token.Tokens.
    var op2tok = [...]token.Token{
    	syntax.Def:  token.ILLEGAL,
    	syntax.Not:  token.NOT,
    	syntax.Recv: token.ILLEGAL,
    
    	syntax.OrOr:   token.LOR,
    	syntax.AndAnd: token.LAND,
    
    	syntax.Eql: token.EQL,
    	syntax.Neq: token.NEQ,
    	syntax.Lss: token.LSS,
    	syntax.Leq: token.LEQ,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/mips/asm0.go

    			p.Optab = uint16(cap(optab) - cap(ops) + i + 1)
    			return op
    		}
    	}
    
    	c.ctxt.Diag("illegal combination %v %v %v %v", p.As, DRconv(a1), DRconv(a2), DRconv(a3))
    	prasm(p)
    	// Turn illegal instruction into an UNDEF, avoid crashing in asmout.
    	return &Optab{obj.AUNDEF, C_NONE, C_NONE, C_NONE, 49, 4, 0, 0, 0}
    }
    
    func cmp(a int, b int) bool {
    	if a == b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  4. src/html/template/escape_test.go

    			`'/' could start a division or regexp: "/-"`,
    		},
    		{
    			`{{template "foo"}}`,
    			"z:1:11: no such template \"foo\"",
    		},
    		{
    			`<div{{template "y"}}>` +
    				// Illegal starting in stateTag but not in stateText.
    				`{{define "y"}} foo<b{{end}}`,
    			`"<" in attribute name: " foo<b"`,
    		},
    		{
    			`<script>reverseList = [{{template "t"}}]</script>` +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  5. pkg/proxy/nftables/proxier.go

    	// and Port names directly in nftables chain names (though note that this assumes
    	// that the chain name won't *start* with any of those strings, since that might
    	// be illegal). We use "/" to separate the parts of the name, which is one of the
    	// two characters allowed in a chain name that isn't allowed in our input strings.
    
    	name := fmt.Sprintf("%s/%s/%s/%s",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Preconditions.java

     *
     * <pre>{@code
     * void exampleBadCaller() {
     *   double d = sqrt(-1.0);
     * }
     * }</pre>
     *
     * <p>would be flagged as having called {@code sqrt()} with an illegal argument.
     *
     * <h3>Performance</h3>
     *
     * <p>Avoid passing message arguments that are expensive to compute; your code will always compute
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  7. src/reflect/type.go

    			repr = append(repr, (" " + name)...)
    		} else {
    			// Embedded field
    			if f.Typ.Kind() == abi.Pointer {
    				// Embedded ** and *interface{} are illegal
    				elem := ft.Elem()
    				if k := elem.Kind(); k == abi.Pointer || k == abi.Interface {
    					panic("reflect.StructOf: illegal embedded field type " + stringFor(ft))
    				}
    			}
    
    			switch Kind(f.Typ.Kind()) {
    			case Interface:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Preconditions.java

     *
     * <pre>{@code
     * void exampleBadCaller() {
     *   double d = sqrt(-1.0);
     * }
     * }</pre>
     *
     * <p>would be flagged as having called {@code sqrt()} with an illegal argument.
     *
     * <h3>Performance</h3>
     *
     * <p>Avoid passing message arguments that are expensive to compute; your code will always compute
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  9. src/html/template/exec_test.go

    	{"bug6b", "{{vfunc .V0 .V0}}", "vfunc", tVal, true},
    	{"bug6c", "{{vfunc .V1 .V0}}", "vfunc", tVal, true},
    	{"bug6d", "{{vfunc .V1 .V1}}", "vfunc", tVal, true},
    	// Legal parse but illegal execution: non-function should have no arguments.
    	{"bug7a", "{{3 2}}", "", tVal, false},
    	{"bug7b", "{{$x := 1}}{{$x 2}}", "", tVal, false},
    	{"bug7c", "{{$x := 1}}{{3 | $x}}", "", tVal, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  10. src/net/http/client_test.go

    	}
    }
    
    func TestClientErrorWithRequestURI(t *testing.T) {
    	defer afterTest(t)
    	req, _ := NewRequest("GET", "http://localhost:1234/", nil)
    	req.RequestURI = "/this/field/is/illegal/and/should/error/"
    	_, err := DefaultClient.Do(req)
    	if err == nil {
    		t.Fatalf("expected an error")
    	}
    	if !strings.Contains(err.Error(), "RequestURI") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top