Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 125 for typechecker (0.21 sec)

  1. test/typecheck.go

    Dan Scales <******@****.***> 1638576610 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 543 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/stdlib_test.go

    			_, err := c.getDirPackage(dir)
    			if err != nil {
    				t.Errorf("error checking %s: %v", dir, err)
    			}
    		}()
    	}
    
    	wg.Wait()
    
    	if testing.Verbose() {
    		fmt.Println(len(dirFiles), "packages typechecked in", time.Since(start))
    	}
    }
    
    // stdlibChecker implements concurrent type-checking of the packages defined by
    // dirFiles, which must define a closed set of packages (such as GOROOT/src).
    type stdlibChecker struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/assign.go

    }
    
    // isAppendOfMake reports whether n is of the form append(x, make([]T, y)...).
    // isAppendOfMake assumes n has already been typechecked.
    func isAppendOfMake(n ir.Node) bool {
    	if base.Flag.N != 0 || base.Flag.Cfg.Instrumenting {
    		return false
    	}
    
    	if n.Typecheck() == 0 {
    		base.Fatalf("missing typecheck: %+v", n)
    	}
    
    	if n.Op() != ir.OAPPEND {
    		return false
    	}
    	call := n.(*ir.CallExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/builtin.go

    		fnname = "makeslice"
    		argtype = types.Types[types.TINT]
    	}
    	fn := typecheck.LookupRuntime(fnname)
    	ptr := mkcall1(fn, types.Types[types.TUNSAFEPTR], init, reflectdata.MakeSliceElemRType(base.Pos, n), typecheck.Conv(len, argtype), typecheck.Conv(cap, argtype))
    	ptr.MarkNonNil()
    	len = typecheck.Conv(len, types.Types[types.TINT])
    	cap = typecheck.Conv(cap, types.Types[types.TINT])
    	sh := ir.NewSliceHeaderExpr(base.Pos, t, ptr, len, cap)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  5. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec/useConfigurationScript/groovycompilerconfig.groovy

    import groovy.transform.TypeChecked
    
    withConfig(configuration) {
        ast(TypeChecked)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 88 bytes
    - Viewed (0)
  6. platforms/jvm/language-groovy/src/integTest/resources/org/gradle/groovy/compile/IncrementalGroovyCompileIntegrationTest/failsCompilationWhenConfigScriptIsUpdated/newgroovycompilerconfig.groovy

    import groovy.transform.TypeChecked
    
    withConfig(configuration) {
        ast(TypeChecked)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 88 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/select.go

    			dflt = cas
    			continue
    		}
    		switch n.Op() {
    		case ir.OSEND:
    			n := n.(*ir.SendStmt)
    			n.Value = typecheck.NodAddr(n.Value)
    			n.Value = typecheck.Expr(n.Value)
    
    		case ir.OSELRECV2:
    			n := n.(*ir.AssignListStmt)
    			if !ir.IsBlank(n.Lhs[0]) {
    				n.Lhs[0] = typecheck.NodAddr(n.Lhs[0])
    				n.Lhs[0] = typecheck.Expr(n.Lhs[0])
    			}
    		}
    	}
    
    	// optimization: two-case select but one is default: single non-blocking op.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    	asanName.Class = ir.PEXTERN
    	symL.Def = asanName
    	typecheck.Target.Externs = append(typecheck.Target.Externs, asanName)
    
    	symL = lname(".asanModulename")
    	asanModulename := ir.NewNameAt(base.Pos, symL, types.Types[types.TSTRING])
    	asanModulename.Class = ir.PEXTERN
    	symL.Def = asanModulename
    	typecheck.Target.Externs = append(typecheck.Target.Externs, asanModulename)
    
    	symL = lname(".asanFilename")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec/configurationScriptNotSupported/groovycompilerconfig.groovy

     * limitations under the License.
     */
    
    package org.gradle.groovy.compile.BasicGroovyCompilerIntegrationSpec.configurationScriptNotSupported
    
    import groovy.transform.TypeChecked
    
    withConfig(configuration) {
        ast(TypeChecked)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 807 bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/order.go

    								init = init[1:]
    							}
    						}
    						dcl := typecheck.Stmt(ir.NewDecl(base.Pos, ir.ODCL, n.(*ir.Name)))
    						ncas.PtrInit().Append(dcl)
    					}
    					tmp := o.newTemp(t, t.HasPointers())
    					as := typecheck.Stmt(ir.NewAssignStmt(base.Pos, n, typecheck.Conv(tmp, n.Type())))
    					ncas.PtrInit().Append(as)
    					r.Lhs[i] = tmp
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top