Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for nopod (0.05 sec)

  1. plugin/pkg/admission/noderestriction/admission_test.go

    			err:        "not bound to a pod",
    		},
    		{
    			name:       "forbid create of token bound to nonexistant pod",
    			podsGetter: noExistingPods,
    			attributes: admission.NewAttributesRecord(makeTokenRequest("nopod", "someuid"), nil, tokenrequestKind, "ns", "mysa", svcacctResource, "token", admission.Create, &metav1.CreateOptions{}, false, mynode),
    			err:        "not found",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  2. src/go/printer/nodes.go

    			if p.indentList(s.Results) {
    				p.print(indent)
    				// Use NoPos so that a newline never goes before
    				// the results (see issue #32854).
    				p.exprList(token.NoPos, s.Results, 1, noIndent, token.NoPos, false)
    				p.print(unindent)
    			} else {
    				p.exprList(token.NoPos, s.Results, 1, 0, token.NoPos, false)
    			}
    		}
    
    	case *ast.BranchStmt:
    		p.print(s.Tok)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    	sig1 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[Int])), nil, false)
    	sig2 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[String])), nil, false)
    
    	methods := []*Func{
    		NewFunc(nopos, nil, "M", sig1),
    		NewFunc(nopos, nil, "M", sig2),
    	}
    
    	embeddedMethods := []*Func{
    		NewFunc(nopos, nil, "M", sig2),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/go/types/api_test.go

    	sig1 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[Int])), nil, false)
    	sig2 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[String])), nil, false)
    
    	methods := []*Func{
    		NewFunc(nopos, nil, "M", sig1),
    		NewFunc(nopos, nil, "M", sig2),
    	}
    
    	embeddedMethods := []*Func{
    		NewFunc(nopos, nil, "M", sig2),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  5. src/go/parser/parser.go

    func (p *parser) parseArrayFieldOrTypeInstance(x *ast.Ident) (*ast.Ident, ast.Expr) {
    	if p.trace {
    		defer un(trace(p, "ArrayFieldOrTypeInstance"))
    	}
    
    	lbrack := p.expect(token.LBRACK)
    	trailingComma := token.NoPos // if valid, the position of a trailing comma preceding the ']'
    	var args []ast.Expr
    	if p.tok != token.RBRACK {
    		p.exprLev++
    		args = append(args, p.parseRhs())
    		for p.tok == token.COMMA {
    			comma := p.pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  6. src/go/printer/testdata/parser.go

    		// method
    		idents = []*ast.Ident{ident}
    		scope := ast.NewScope(nil) // method scope
    		params, results := p.parseSignature(scope)
    		typ = &ast.FuncType{token.NoPos, params, results}
    	} else {
    		// embedded interface
    		typ = x
    	}
    	p.expectSemi() // call before accessing p.linecomment
    
    	spec := &ast.Field{doc, idents, typ, nil, p.lineComment}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/expr.go

    }
    
    // opPos returns the position of the operator if x is an operation;
    // otherwise it returns the start position of x.
    func opPos(x syntax.Expr) syntax.Pos {
    	switch op := x.(type) {
    	case nil:
    		return nopos // don't crash
    	case *syntax.Operation:
    		return op.Pos()
    	default:
    		return syntax.StartPos(x)
    	}
    }
    
    // opName returns the name of the operation if x is an operation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    		// to users debugging preamble mistakes. See issue 8442.
    		preambleErrors := p.gccErrors([]byte(builtinProlog + f.Preamble))
    		if len(preambleErrors) > 0 {
    			error_(token.NoPos, "\n%s errors for preamble:\n%s", gccBaseCmd[0], preambleErrors)
    		}
    
    		fatalf("unresolved names")
    	}
    
    	return needType
    }
    
    // loadDWARF parses the DWARF debug information generated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top