Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 215 for noposn (0.12 sec)

  1. src/go/types/eval_test.go

    func TestEvalBasic(t *testing.T) {
    	fset := token.NewFileSet()
    	for _, typ := range Typ[Bool : String+1] {
    		testEval(t, fset, nil, nopos, typ.Name(), typ, "", "")
    	}
    }
    
    func TestEvalComposite(t *testing.T) {
    	fset := token.NewFileSet()
    	for _, test := range independentTestTypes {
    		testEval(t, fset, nil, nopos, test.src, nil, test.str, "")
    	}
    }
    
    func TestEvalArith(t *testing.T) {
    	var tests = []string{
    		`true`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 19:56:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/compile/internal/ssa/numberlines.go

    		if firstPosIndex == -1 { // Effectively empty block, check block's own Pos, consider preds.
    			line := src.NoXPos
    			for _, p := range b.Preds {
    				pbi := p.Block().ID
    				if !endlines[pbi].SameFileAndLine(line) {
    					if line == src.NoXPos {
    						line = endlines[pbi]
    						continue
    					} else {
    						line = src.NoXPos
    						break
    					}
    
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 21:26:13 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. src/go/token/example_test.go

    )
    
    func Example_retrievePositionInfo() {
    	fset := token.NewFileSet()
    
    	const src = `package main
    
    import "fmt"
    
    import "go/token"
    
    //line :1:5
    type p = token.Pos
    
    const bad = token.NoPos
    
    //line fake.go:42:11
    func ok(pos p) bool {
    	return pos != bad
    }
    
    /*line :7:9*/func main() {
    	fmt.Println(ok(bad) == bad.IsValid())
    }
    `
    
    	f, err := parser.ParseFile(fset, "main.go", src, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:09:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                        ctx.decode(buffer, ncpos, dataLen);
                        contexts[ i ] = ctx;
                    }
                    ncpos += dataLen;
                    if ( i != negotiateContextCount - 1 ) {
                        ncpos += pad8(ncpos);
                    }
                }
                this.negotiateContexts = contexts;
                return Math.max(bufferIndex, ncpos) - start;
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. .bazelrc

    # will work properly. These are usually run Nightly or upon Release.
    # CPU WHEEL
    test:linux_cpu_wheel_test_filters --test_tag_filters=-no_oss,-oss_excluded,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_oss_py38,-no_oss_py39,-no_oss_py310
    test:linux_cpu_wheel_test_filters --build_tag_filters=-no_oss,-oss_excluded,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_oss_py38,-no_oss_py39,-no_oss_py310
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 17:12:54 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  10. tensorflow/cc/experimental/libtf/BUILD

            "//tensorflow/core/platform:statusor",
        ],
    )
    
    tf_cc_test(
        name = "libtf_tensor_test",
        size = "medium",
        srcs = ["tests/tensor_test.cc"],
        tags = ["no_oss"],  # TODO(b/193268458): Need to disable TFRT.
        deps = [
            ":libtf",
            "//tensorflow/c:tf_status_helper",
            "//tensorflow/c/eager:abstract_context",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top