Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for forbidden (0.67 sec)

  1. src/net/http/fs_test.go

    	redirect := false
    	name := "file.txt"
    	fs := issue12991FS{}
    	ExportServeFile(rec, r, fs, name, redirect)
    	if body := rec.Body.String(); !strings.Contains(body, "403") || !strings.Contains(body, "Forbidden") {
    		t.Errorf("wanted 403 forbidden message; got: %s", body)
    	}
    }
    
    type issue12991FS struct{}
    
    func (issue12991FS) Open(string) (File, error) { return issue12991File{}, nil }
    
    type issue12991File struct{ File }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  2. src/runtime/mprof.go

    	// of the future array of every memRecord struct
    	profMemFutureLock [len(memRecord{}.future)]mutex
    )
    
    // All memory allocations are local and do not escape outside of the profiler.
    // The profiler is forbidden from referring to garbage-collected memory.
    
    const (
    	// profile types
    	memProfile bucketType = 1 + iota
    	blockProfile
    	mutexProfile
    
    	// size of bucket hash table
    	buckHashSize = 179999
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set_utils_test.go

    	testCases := []struct {
    		maxUnavailable         *intstr.IntOrString
    		replicaCount           int
    		expectedMaxUnavailable int
    	}{
    		// it wouldn't hurt to also test 0 and 0%, even if they should have been forbidden by API validation.
    		{maxUnavailable: nil, replicaCount: 10, expectedMaxUnavailable: 1},
    		{maxUnavailable: ptr.To(intstr.FromInt32(3)), replicaCount: 10, expectedMaxUnavailable: 3},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

            } else {
                notifyChildren(type);
            }
        }
    
        /**
         * Emit a warning (and eventually throw an exception) if a mutation of type {@code type} occurs
         * during a forbidden state.
         *
         * @return true if a deprecation was emitted
         */
        private boolean maybePreventMutation(MutationType type, String typeDescription) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    			}
    		}
    	}
    
    	invalid := []string{
    		"1.1.M",
    		"1+1.0M",
    		"0.1mi",
    		"0.1am",
    		"aoeu",
    		".5i",
    		"1i",
    		"-3.01i",
    		"-3.01e-",
    
    		// trailing whitespace is forbidden
    		" 1",
    		"1 ",
    	}
    	for _, item := range invalid {
    		_, err := ParseQuantity(item)
    		if err == nil {
    			t.Errorf("%v parsed unexpectedly", item)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    // The operation returns a 200 OK if the bucket exists and you
    // have permission to access it. Otherwise, the operation might
    // return responses such as 404 Not Found and 403 Forbidden.
    func (api objectAPIHandlers) HeadBucketHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "HeadBucket")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // corresponding HTTP response code, are used in the
      // HTTP response to the client.
      // The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge".
      // If not set, StatusReasonInvalid is used in the response to the client.
      // +optional
      optional string reason = 3;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/buildlist.go

    				case "lazymod=log":
    					debug.PrintStack()
    					fmt.Fprintf(os.Stderr, "go: read full module graph.\n")
    				case "lazymod=strict":
    					debug.PrintStack()
    					base.Fatalf("go: read full module graph (forbidden by GODEBUG=lazymod=strict).")
    				}
    			}
    		})
    	}
    
    	var graphRoots []module.Version
    	if inWorkspaceMode() {
    		graphRoots = roots
    	} else {
    		graphRoots = MainModules.Versions()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ppc64/ssa.go

    			p.To.Type = obj.TYPE_CONST
    			p.To.Offset = 0
    
    			// BNE 2(PC)
    			p2 := s.Prog(ppc64.ABNE)
    			p2.To.Type = obj.TYPE_BRANCH
    
    			// STW R0, 0(R0)
    			// Write at 0 is forbidden and will trigger a SIGSEGV
    			p = s.Prog(ppc64.AMOVW)
    			p.From.Type = obj.TYPE_REG
    			p.From.Reg = ppc64.REG_R0
    			p.To.Type = obj.TYPE_MEM
    			p.To.Reg = ppc64.REG_R0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. src/net/http/client_test.go

    	}
    
    	checkErr = errors.New("no redirects allowed")
    	res, err = c.Get(ts.URL)
    	if urlError, ok := err.(*url.Error); !ok || urlError.Err != checkErr {
    		t.Errorf("with redirects forbidden, expected a *url.Error with our 'no redirects allowed' error inside; got %#v (%q)", err, err)
    	}
    	if res == nil {
    		t.Fatalf("Expected a non-nil Response on CheckRedirect failure (https://golang.org/issue/3795)")
    	}
    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