Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 730 for have (1.38 sec)

  1. src/cmd/cgo/internal/testshared/testdata/globallib/global.go

    package globallib
    
    // Data is large enough to that offsets into it do not fit into
    // 16-bit or 20-bit immediates. Ideally we'd also try and overrun
    // 32-bit immediates, but that requires the test machine to have
    // too much memory.
    var Data [1<<20 + 10]int64
    
    func init() {
    	for i := range Data {
    		Data[i] = int64(i)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 485 bytes
    - Viewed (0)
  2. src/cmd/internal/obj/abi_string.go

    // Code generated by "stringer -type ABI"; DO NOT EDIT.
    
    package obj
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[ABI0-0]
    	_ = x[ABIInternal-1]
    	_ = x[ABICount-2]
    }
    
    const _ABI_name = "ABI0ABIInternalABICount"
    
    var _ABI_index = [...]uint8{0, 4, 15, 23}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:24:07 UTC 2023
    - 589 bytes
    - Viewed (0)
  3. src/cmd/gofmt/gofmt.go

    // task to be executed concurrently.
    //
    // If the weight is either negative or larger than the sequencer's maximum
    // weight, Add blocks until all other tasks have completed, then the task
    // executes exclusively (blocking all other calls to Add until it completes).
    //
    // f may run concurrently in a goroutine, but its output to the passed-in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/fuse_test.go

    	for k, b := range fun.blocks {
    		if k[:1] == "z" && b.Kind != BlockInvalid {
    			t.Errorf("case3 %s was not eliminated, but should have", k)
    		}
    	}
    }
    
    func TestFuseSideEffects(t *testing.T) {
    	c := testConfig(t)
    	// Case1, test that we don't fuse branches that have side effects but
    	// have no use (e.g. followed by infinite loop).
    	// See issue #36005.
    	fun := c.Fun("entry",
    		Bloc("entry",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testsanitizers/testdata/msan3.go

    // Copyright 2015 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.
    
    package main
    
    /*
    extern int *GoFn(int *);
    
    // Yes, you can have definitions if you use //export, as long as they are weak.
    int f(void) __attribute__ ((weak));
    
    int f() {
      int i;
      int *p = GoFn(&i);
      if (*p != 12345)
        return 0;
      return 1;
    }
    */
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 552 bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/validtype.go

    				// before type checking is complete, any exported type that is invalid
    				// will have an invalid underlying type and we can't reach here with
    				// such a type (invalid types are excluded above).
    				// Thus, if we reach here with a type t, both t and t.Origin() (if
    				// different in the first place) must be from the current package;
    				// they cannot have been imported.
    				// Therefore it is safe to change their underlying types; there is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 13:22:37 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/search.go

    		treeCanMatch = pkgpattern.TreeCanMatchPattern(m.Pattern())
    	}
    
    	var mu sync.Mutex
    	have := map[string]bool{
    		"builtin": true, // ignore pseudo-package that exists only for documentation
    	}
    	addPkg := func(p string) {
    		mu.Lock()
    		m.Pkgs = append(m.Pkgs, p)
    		mu.Unlock()
    	}
    	if !cfg.BuildContext.CgoEnabled {
    		have["runtime/cgo"] = true // ignore during walk
    	}
    
    	type pruning int8
    	const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/fuse_branchredirect.go

    					continue
    				}
    				b.removePred(k)
    				p.Succs[pk.i] = Edge{child, len(child.Preds)}
    				// Fix up Phi value in b to have one less argument.
    				for _, v := range b.Values {
    					if v.Op != OpPhi {
    						continue
    					}
    					b.removePhiArg(v, k)
    				}
    				// Fix up child to have one more predecessor.
    				child.Preds = append(child.Preds, Edge{p, pk.i})
    				ai := b.Succs[out].i
    				for _, v := range child.Values {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/toolchain.go

    	if err != nil {
    		return nil, err
    	}
    	versions.Origin = nil
    	var list []string
    	have := make(map[string]bool)
    	goPrefix := ""
    	if r.path == "toolchain" {
    		goPrefix = "go"
    	}
    	for _, v := range versions.List {
    		v, ok := dlToGo(v)
    		if !ok {
    			continue
    		}
    		if !have[v] {
    			have[v] = true
    			list = append(list, goPrefix+v)
    		}
    	}
    
    	// Always include our own version.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 13 16:44:24 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modcmd/download.go

    				// (which are presumed irrelevant to the packages in the main module).
    				// See https://golang.org/issue/44435.
    				//
    				// However, we also need to load the full module graph, to ensure that
    				// we have downloaded enough of the module graph to run 'go list all',
    				// 'go mod graph', and similar commands.
    				_, err := modload.LoadModGraph(ctx, "")
    				if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 19:32:39 UTC 2023
    - 13.5K bytes
    - Viewed (0)
Back to top