Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for classes (1.78 sec)

  1. src/cmd/compile/internal/ssa/cse.go

    	if f.pass.stats > 0 {
    		f.LogStat("CSE REWRITES", rewrites)
    	}
    }
    
    // An eqclass approximates an equivalence class. During the
    // algorithm it may represent the union of several of the
    // final equivalence classes.
    type eqclass []*Value
    
    // partitionValues partitions the values into equivalence classes
    // based on having all the following features match:
    //   - opcode
    //   - type
    //   - auxint
    //   - aux
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/switch.go

    	if types.IsOrdered[s.exprname.Type().Kind()] && expr.Op() == ir.OLITERAL {
    		s.clauses = append(s.clauses, c)
    		return
    	}
    
    	s.flush()
    	s.clauses = append(s.clauses, c)
    	s.flush()
    }
    
    func (s *exprSwitch) Emit(out *ir.Nodes) {
    	s.flush()
    	out.Append(s.done.Take()...)
    }
    
    func (s *exprSwitch) flush() {
    	cc := s.clauses
    	s.clauses = nil
    	if len(cc) == 0 {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    // define the tagged object class, next 4 bits are for type
    // information for the specific tagged object class.  Thus,
    // the low byte is for type info, and the rest of a pointer
    // (32 or 64-bit) is for payload, whatever the tagged class.
    //
    // Note that the specific integers used to identify the
    // specific tagged classes can and will change from release
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/return.go

    			if !check.isTerminatingList(cc.Body, "") || hasBreakList(cc.Body, label, true) {
    				return false
    			}
    
    		}
    		return true
    
    	case *syntax.ForStmt:
    		if _, ok := s.Init.(*syntax.RangeClause); ok {
    			// Range clauses guarantee that the loop terminates,
    			// so the loop is not a terminating statement. See go.dev/issue/49003.
    			break
    		}
    		if s.Cond == nil && !hasBreak(s.Body, label, true) {
    			return true
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/api.go

    	// Defs maps identifiers to the objects they define (including
    	// package names, dots "." of dot-imports, and blank "_" identifiers).
    	// For identifiers that do not denote objects (e.g., the package name
    	// in package clauses, or symbolic variables t in t := x.(type) of
    	// type switch headers), the corresponding objects are nil.
    	//
    	// For an embedded field, Defs returns the field *Var it defines.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testcarchive/carchive_test.go

    		// Currently when the Go runtime sees that a SIGSEGV was
    		// sent from a different program, it first tries to send
    		// the signal to the os/signal API. If nothing is looking
    		// for (or explicitly ignoring) SIGSEGV, then it crashes.
    		// Because the Go runtime is invoked via a c-archive,
    		// it treats this as GOTRACEBACK=crash, meaning that it
    		// dumps a stack trace for all goroutines, which it does
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  7. src/cmd/dist/build.go

    		// Do not include local development, so that people working in the
    		// main branch for day-to-day work on the Go toolchain itself can
    		// still have full paths for stack traces for compiler crashes and the like.
    		env = append(env, "GOFLAGS=-trimpath -ldflags=-w -gcflags=cmd/...=-dwarf=false")
    	}
    	return env
    }
    
    var toolchain = []string{"cmd/asm", "cmd/cgo", "cmd/compile", "cmd/link", "cmd/preprofile"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    but instead calls a Go helper function that wraps the C library malloc
    but guarantees never to return nil. If C's malloc indicates out of memory,
    the helper function crashes the program, like when Go itself runs out
    of memory. Because C.malloc cannot fail, it has no two-result form
    that returns errno.
    
    # C references to Go
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  9. src/cmd/cover/testdata/html/html.go

    // The comments below are markers for extracting the annotated source
    // from the HTML output.
    
    // This is a regression test for incorrect sorting of boundaries
    // that coincide, specifically for empty select clauses.
    // START f
    func f() {
    	ch := make(chan int)
    	select {
    	case <-ch:
    	default:
    	}
    }
    
    // END f
    
    // https://golang.org/issue/25767
    // START g
    func g() {
    	if false {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 07 22:47:53 UTC 2018
    - 483 bytes
    - Viewed (0)
  10. src/cmd/compile/internal/inline/inlheur/scoring.go

    func parseScoreAdj(val string) error {
    	clauses := strings.Split(val, "/")
    	if len(clauses) == 0 {
    		return fmt.Errorf("no clauses")
    	}
    	for _, clause := range clauses {
    		elems := strings.Split(clause, ":")
    		if len(elems) < 2 {
    			return fmt.Errorf("clause %q: expected colon", clause)
    		}
    		if len(elems) != 2 {
    			return fmt.Errorf("clause %q has %d elements, wanted 2", clause,
    				len(elems))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top