Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 371 for disallow (0.3 sec)

  1. src/cmd/compile/internal/types2/object.go

    		typ = sig
    	} else {
    		// Don't store a (typed) nil *Signature.
    		// We can't simply replace it with new(Signature) either,
    		// as this would violate object.{Type,color} invariants.
    		// TODO(adonovan): propose to disallow NewFunc with nil *Signature.
    	}
    	return &Func{object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, false, nil}
    }
    
    // Signature returns the signature (type) of the function or method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. plugin/pkg/admission/noderestriction/admission.go

    	nodeName, isNode := p.nodeIdentifier.NodeIdentity(a.GetUserInfo())
    
    	// Our job is just to restrict nodes
    	if !isNode {
    		return nil
    	}
    
    	if len(nodeName) == 0 {
    		// disallow requests we cannot match to a particular node
    		return admission.NewForbidden(a, fmt.Errorf("could not determine node from user %q", a.GetUserInfo().GetName()))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/shell.go

    func (b *Builder) Shell(a *Action) *Shell {
    	if a == nil {
    		// The root shell has a nil Action. The point of this method is to
    		// create a Shell bound to an Action, so disallow nil Actions here.
    		panic("nil Action")
    	}
    	if a.sh == nil {
    		a.sh = b.backgroundSh.WithAction(a)
    	}
    	return a.sh
    }
    
    // BackgroundShell returns a Builder-wide Shell that's not bound to any Action.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. src/runtime/panic.go

    // runtime package we turn the panic into a throw. That will dump the
    // entire runtime stack for easier debugging.
    //
    // The entry points called by the signal handler will be called from
    // runtime.sigpanic, so we can't disallow calls from the runtime to
    // these (they always look like they're called from the runtime).
    // Hence, for these, we just check for clearly bad runtime conditions.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/arch.go

    		IsJump:         jumpLoong64,
    	}
    }
    
    func archRISCV64(shared bool) *Arch {
    	register := make(map[string]int16)
    
    	// Standard register names.
    	for i := riscv.REG_X0; i <= riscv.REG_X31; i++ {
    		// Disallow X3 in shared mode, as this will likely be used as the
    		// GP register, which could result in problems in non-Go code,
    		// including signal handlers.
    		if shared && i == riscv.REG_GP {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 06:51:28 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  6. src/go/types/object.go

    		typ = sig
    	} else {
    		// Don't store a (typed) nil *Signature.
    		// We can't simply replace it with new(Signature) either,
    		// as this would violate object.{Type,color} invariants.
    		// TODO(adonovan): propose to disallow NewFunc with nil *Signature.
    	}
    	return &Func{object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, false, nil}
    }
    
    // Signature returns the signature (type) of the function or method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-rebalance.go

    // due to a missing new pool. This function tries to handle this
    // scenario, albeit rare it seems to have occurred in the wild.
    //
    // since we do not explicitly disallow it, but it is okay for them
    // expand and then we continue to rebalance.
    func (z *erasureServerPools) updateRebalanceStats(ctx context.Context) error {
    	var ok bool
    	for i := range z.serverPools {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/assign.go

    		// Drill through non-dereferences.
    		for {
    			// If an expression has init statements, they must be evaluated
    			// before any of its saved sub-operands (#45706).
    			// TODO(mdempsky): Disallow init statements on lvalues.
    			init := ir.TakeInit(l)
    			walkStmtList(init)
    			early.Append(init...)
    
    			switch ll := l.(type) {
    			case *ir.IndexExpr:
    				if ll.X.Type().IsArray() {
    					save(&ll.Index)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/modfile.go

    		}
    		if err != nil {
    			return "", nil, module.VersionError(m, fmt.Errorf("reading %s: %v", base.ShortPath(name), err))
    		}
    	} else {
    		if !gover.ModIsValid(m.Path, m.Version) {
    			// Disallow the broader queries supported by fetch.Lookup.
    			base.Fatalf("go: internal error: %s@%s: unexpected invalid semantic version", m.Path, m.Version)
    		}
    		name = "go.mod"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 17:53:40 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InternetDomainName.java

        /*
         * Note that we allow (in contravention of a strict interpretation of the relevant RFCs) domain
         * parts other than the last may begin with a digit (for example, "3com.com"). It's important to
         * disallow an initial digit in the last part; it's the only thing that stops an IPv4 numeric
         * address like 127.0.0.1 from looking like a valid domain name.
         */
    
        if (isFinalPart && DIGIT_MATCHER.matches(part.charAt(0))) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top