- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for nopod (0.04 sec)
-
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListener.java
// (documentation says that getEndPosition() will be NOPOS iff getPosition() is NOPOS) if (0 < position) { // ... we can report the start and extent spec.offsetInFileLocation(resourceName, position, end - position); } } } /** * Clamp the value to an int, or return {@link Diagnostic#NOPOS} if the value is too large. * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 06:17:43 UTC 2024 - 11.5K bytes - Viewed (0) -
security/pkg/server/ca/node_auth_test.go
uid: "2", node: "zt-node-remote", } primaryClusterPods := []runtime.Object{ toPod(ztunnelPodPrimary, true), toPod(podSameNodePrimary, false), } remoteClusterPods := []runtime.Object{ toPod(ztunnelPodRemote, true), toPod(podSameNodeRemote, false), } remoteCluster2Pods := []runtime.Object{ toPod(ztunnelPodRemote2, true), } primaryClient := kube.NewFakeClient(primaryClusterPods...)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 10.5K bytes - Viewed (0) -
src/go/token/position.go
type Pos int // The zero value for [Pos] is NoPos; there is no file and line information // associated with it, and NoPos.IsValid() is false. NoPos is always // smaller than any other [Pos] value. The corresponding [Position] value // for NoPos is the zero value for [Position]. const NoPos Pos = 0 // IsValid reports whether the position is valid. func (p Pos) IsValid() bool { return p != NoPos }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.7K bytes - Viewed (0) -
src/go/token/position_test.go
t.Errorf("%s: got column = %d; want %d", msg, got.Column, want.Column) } } func TestNoPos(t *testing.T) { if NoPos.IsValid() { t.Errorf("NoPos should not be valid") } var fset *FileSet checkPos(t, "nil NoPos", fset.Position(NoPos), Position{}) fset = NewFileSet() checkPos(t, "fset NoPos", fset.Position(NoPos), Position{}) } var tests = []struct { filename string source []byte // may be nil size int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 20:26:14 UTC 2024 - 14.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object.go
return &Var{object: object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}} } // NewParam returns a new variable representing a function parameter. func NewParam(pos syntax.Pos, pkg *Package, name string, typ Type) *Var { return &Var{object: object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, used: true} // parameters are always 'used' }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/go/types/object.go
return &Var{object: object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}} } // NewParam returns a new variable representing a function parameter. func NewParam(pos token.Pos, pkg *Package, name string, typ Type) *Var { return &Var{object: object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, used: true} // parameters are always 'used' }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/go/types/issues_test.go
// } // } n1 := NewTypeName(nopos, nil, "T1", nil) T1 := NewNamed(n1, nil, nil) n2 := NewTypeName(nopos, nil, "T2", nil) T2 := NewNamed(n2, nil, nil) s1 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil) T1.SetUnderlying(s1) s2 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil) s3 := NewStruct([]*Var{NewField(nopos, nil, "_", s2, false)}, nil) T2.SetUnderlying(s3)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
// } // } n1 := NewTypeName(nopos, nil, "T1", nil) T1 := NewNamed(n1, nil, nil) n2 := NewTypeName(nopos, nil, "T2", nil) T2 := NewNamed(n2, nil, nil) s1 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil) T1.SetUnderlying(s1) s2 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil) s3 := NewStruct([]*Var{NewField(nopos, nil, "_", s2, false)}, nil) T2.SetUnderlying(s3)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/go/internal/gccgoimporter/parser.go
} typ := p.parseType(pkg) if isVariadic { typ = types.NewSlice(typ) } param = types.NewParam(token.NoPos, pkg, name, typ) return } // Var = Name Type . func (p *parser) parseVar(pkg *types.Package) *types.Var { name := p.parseName() v := types.NewVar(token.NoPos, pkg, name, p.parseType(pkg)) if name[0] == '.' || name[0] == '<' { // This is an unexported variable,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 02 23:14:07 UTC 2024 - 31.2K bytes - Viewed (0) -
src/go/ast/ast.go
} if f.Type != nil { return f.Type.Pos() } return token.NoPos } func (f *Field) End() token.Pos { if f.Tag != nil { return f.Tag.End() } if f.Type != nil { return f.Type.End() } if len(f.Names) > 0 { return f.Names[len(f.Names)-1].End() } return token.NoPos } // A FieldList represents a list of Fields, enclosed by parentheses,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 35.6K bytes - Viewed (0)