Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for badexit (0.3 sec)

  1. src/cmd/compile/internal/base/base.go

    	if logHeapTweaks {
    		sample := append([]metrics.Sample(nil), sample...) // avoid races with GC callback
    		AtExit(func() {
    			metrics.Read(sample)
    			goal := sample[GOAL].Value.Uint64()
    			count := sample[COUNT].Value.Uint64()
    			oldGogc := debug.SetGCPercent(100)
    			if oldGogc == 100 {
    				fmt.Fprintf(os.Stderr, "GCAdjust: AtExit goal %d gogc %d count %d maxprocs %d gcConcurrency %d\n",
    					goal, oldGogc, count, mp, gcConcurrency)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/positions.go

    			return MakePos(n.Pos().Base(), 1, 1)
    
    		// declarations
    		// case *ImportDecl:
    		// case *ConstDecl:
    		// case *TypeDecl:
    		// case *VarDecl:
    		// case *FuncDecl:
    
    		// expressions
    		// case *BadExpr:
    		// case *Name:
    		// case *BasicLit:
    		case *CompositeLit:
    			if n.Type != nil {
    				m = n.Type
    				continue
    			}
    			return n.Pos()
    		case *KeyValueExpr:
    			m = n.Key
    		// case *FuncLit:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/parser.go

    					}
    				}
    			} else {
    				msg = "mixed named and unnamed parameters"
    			}
    			p.syntaxErrorAt(errPos, msg)
    		}
    	}
    
    	return
    }
    
    func (p *parser) badExpr() *BadExpr {
    	b := new(BadExpr)
    	b.pos = p.pos()
    	return b
    }
    
    // ----------------------------------------------------------------------------
    // Statements
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_activity_listener.cc

    };
    
    void FlushAllListeners();
    
    XlaActivityListenerList* GetXlaActivityListenerList() {
      static XlaActivityListenerList* listener_list = new XlaActivityListenerList;
      static int unused = std::atexit(FlushAllListeners);
      (void)unused;
      return listener_list;
    }
    
    template <typename FnTy>
    Status ForEachListener(FnTy fn) {
      XlaActivityListenerList* listener_list = GetXlaActivityListenerList();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/go/parser/parser.go

    			if index[1] == nil {
    				p.error(colons[0], "middle index required in 3-index slice")
    				index[1] = &ast.BadExpr{From: colons[0] + 1, To: colons[1]}
    			}
    			if index[2] == nil {
    				p.error(colons[1], "final index required in 3-index slice")
    				index[2] = &ast.BadExpr{From: colons[1] + 1, To: rbrack}
    			}
    		}
    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. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            var bazar = "bazar"
    
            var bazool: Boolean = true
    
            var isFool: Boolean = true
    
            fun String.fooExt() {}
    
            fun Int.fooExt() {}
    
            val String.barExt: String
                get() = "bar"
    
            var Int.bazarExt: String
                get() = "bar"
                set(value) = Unit
    
            operator fun String.invoke(p: String, block: String.() -> Unit) = Unit
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/env_write.txt

    ! go env -w GOMODCACHE=./test
    stderr 'go: GOMODCACHE entry is relative; must be absolute path: "./test"'
    
    # go env -w checks validity of GOEXPERIMENT
    env GOEXPERIMENT=
    ! go env -w GOEXPERIMENT=badexp
    stderr 'unknown GOEXPERIMENT badexp'
    go env -w GOEXPERIMENT=fieldtrack
    
    # go env -w and go env -u work on unknown fields already in the go/env file
    cp bad.env $GOENV
    go env GOENV
    cat $GOENV
    go env
    ! stdout UNKNOWN
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/main.go

    	if ctxt.Debugvlog > 0 {
    		// dump symbol info on crash
    		defer func() { ctxt.loader.Dump() }()
    	}
    	if ctxt.Debugvlog > 1 {
    		// dump symbol info on error
    		AtExit(func() {
    			if nerrors > 0 {
    				ctxt.loader.Dump()
    			}
    		})
    	}
    
    	switch *flagHeadType {
    	case "":
    	case "windowsgui":
    		ctxt.HeadType = objabi.Hwindows
    		windowsgui = true
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go

    	switch n.(type) {
    	case *ast.ArrayType:
    		return 1 << nArrayType
    	case *ast.AssignStmt:
    		return 1 << nAssignStmt
    	case *ast.BadDecl:
    		return 1 << nBadDecl
    	case *ast.BadExpr:
    		return 1 << nBadExpr
    	case *ast.BadStmt:
    		return 1 << nBadStmt
    	case *ast.BasicLit:
    		return 1 << nBasicLit
    	case *ast.BinaryExpr:
    		return 1 << nBinaryExpr
    	case *ast.BlockStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/likelyadjust.go

    	po := f.postorder()
    	nest := f.loopnest()
    	b2l := nest.b2l
    
    	for _, b := range po {
    		switch b.Kind {
    		case BlockExit:
    			// Very unlikely.
    			local[b.ID] = blEXIT
    			certain[b.ID] = blEXIT
    
    			// Ret, it depends.
    		case BlockRet, BlockRetJmp:
    			local[b.ID] = blRET
    			certain[b.ID] = blRET
    
    			// Calls. TODO not all calls are equal, names give useful clues.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 15.4K bytes
    - Viewed (0)
Back to top