Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 272 for we (0.02 sec)

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

    		// will barf on it.
    		//
    		// Fortunately, this situation can only happen for dead
    		// code loops. We know the code we're working with is
    		// not dead, so we're ok.
    		// Proof: If we have a potential bad cycle, we have a
    		// situation like this:
    		//   x = (Phi z)
    		//   y = (op1 x ...)
    		//   z = (op2 y ...)
    		// Where opX are not Phi ops. But such a situation
    		// implies a cycle in the dominator graph. In the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/layout.go

    	// the depth-first topology sorting algorithm.
    	var zerodegree []ID
    	// LIFO queue. Track the successor blocks of the scheduled block so that when we
    	// encounter loops, we choose to schedule the successor block of the most recently
    	// scheduled block.
    	var succs []ID
    	exit := f.newSparseSet(f.NumBlocks()) // exit blocks
    	defer f.retSparseSet(exit)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/inline/inlheur/testdata/props/calls.go

    // <endcallsites>
    // <endfuncpreamble>
    func T_pass_noninlinable_func_to_param_feeding_indirect_call(x int) int {
    	// if we inline callsParam we can convert the indirect call
    	// to a direct call, but we can't inline it.
    	return callsParam(x, calleeNoInline)
    }
    
    // calls.go T_pass_inlinable_func_to_param_feeding_nested_indirect_call 165 0 1
    // ParamFlags
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/iface_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package test
    
    import "testing"
    
    // Test to make sure we make copies of the values we
    // put in interfaces.
    
    var x int
    
    func TestEfaceConv1(t *testing.T) {
    	a := 5
    	i := interface{}(a)
    	a += 2
    	if got := i.(int); got != 5 {
    		t.Errorf("wanted 5, got %d\n", got)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:53 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/debug.go

    // field of the string is used). At the point where debug value
    // analysis runs, we might expect to see an entry block with:
    //
    //	b1:
    //	  v4 = ArgIntReg <uintptr> {s+8} [0] : BX
    //	  v5 = ArgIntReg <int> {used} [0] : CX
    //
    // While this is an accurate picture of the live incoming params,
    // we also want to have debug locations for non-live params (or
    // their non-live pieces), e.g. something like
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ir/fmt.go

    	// (for example, an actual loop instead of "for loop").
    	// The code is preserved for now in case we want to expand
    	// any of those shortenings later. Or maybe we will delete
    	// the code. But for now, keep it.
    	const exportFormat = false
    
    	// some statements allow for an init, but at most one,
    	// but we may have an arbitrary number added, eg by typecheck
    	// and inlining. If it doesn't fit the syntax, emit an enclosing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue18146.go

    	}
    
    	attempts := 1000
    	threads := 4
    
    	// Restrict the number of attempts based on RLIMIT_NPROC.
    	// Tediously, RLIMIT_NPROC was left out of the syscall package,
    	// probably because it is not in POSIX.1, so we define it here.
    	// It is not defined on Solaris.
    	var nproc int
    	setNproc := true
    	switch runtime.GOOS {
    	default:
    		setNproc = false
    	case "aix":
    		nproc = 9
    	case "linux":
    		nproc = 6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/tokenizer.go

    	var s scanner.Scanner
    	s.Init(r)
    	// Newline is like a semicolon; other space characters are fine.
    	s.Whitespace = 1<<'\t' | 1<<'\r' | 1<<' '
    	// Don't skip comments: we need to count newlines.
    	s.Mode = scanner.ScanChars |
    		scanner.ScanFloats |
    		scanner.ScanIdents |
    		scanner.ScanInts |
    		scanner.ScanStrings |
    		scanner.ScanComments
    	s.Position.Filename = name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/regalloc_test.go

    	regalloc(f.f)
    	checkFunc(f.f)
    	// Double-check that we never restore to the G register. Regalloc should catch it, but check again anyway.
    	r := f.f.RegAlloc
    	for _, b := range f.blocks {
    		for _, v := range b.Values {
    			if v.Op == OpLoadReg && r[v.ID].String() == "g" {
    				t.Errorf("Saw OpLoadReg targeting g register: %s", v.LongString())
    			}
    		}
    	}
    }
    
    // Test to make sure we don't push spills into loops.
    // See issue #19595.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue23555.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Test that we can have two identical cgo packages in a single binary.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    import (
    	_ "cmd/cgo/internal/test/issue23555a"
    	_ "cmd/cgo/internal/test/issue23555b"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 403 bytes
    - Viewed (0)
Back to top