Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for globAbs (0.2 sec)

  1. test/fixedbugs/issue30977.go

    	a, b, c, d, e string
    }
    
    //go:noinline
    func g() T {
    	return T{"a", "b", "c", "d", "e"}
    }
    
    //go:noinline
    func f() {
    	// The compiler optimizes this to direct copying
    	// the call result to both globals, with write
    	// barriers. The first write barrier call clobbers
    	// the result of g on stack.
    	X = g()
    	Y = X
    }
    
    var X, Y T
    
    const N = 1000
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:05:13 UTC 2019
    - 865 bytes
    - Viewed (0)
  2. test/fixedbugs/issue34723.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure we don't introduce write barriers where we
    // don't need them. These cases are writing pointers to
    // globals to zeroed memory.
    
    package main
    
    func f1() []string {
    	return []string{"a"}
    }
    
    func f2() []string {
    	return []string{"a", "b"}
    }
    
    type T struct {
    	a [6]*int
    }
    
    func f3() *T {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 07 17:19:13 UTC 2019
    - 1K bytes
    - Viewed (0)
  3. .fleet/settings.json

    {
        "backend.maxHeapSizeMb": 2602,
    
        // https://youtrack.jetbrains.com/issue/FL-22276
        // Fleet cannot handle nested maven projects until FL-22276
        "ignored.project.globs": [
            "**/pom.xml"
        ]
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Oct 16 13:48:21 UTC 2023
    - 214 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/lower_globals_to_ml_program_invalid.mlir

    // RUN: tf-opt %s --allow-unregistered-dialect --tf-saved-model-lower-globals-to-mlprogram --split-input-file --verify-diagnostics
    
    module attributes {tf_saved_model.semantics} {
      "tf_saved_model.global_tensor"() { is_mutable, sym_name = "v", type = tensor<?xf32>, value = dense<1.> : tensor<1xf32> } : () -> ()
      "tf_saved_model.global_tensor"() { is_mutable, sym_name = "v1", type = tensor<?xf32>, value = dense<1.> : tensor<1xf32> } : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 21:57:26 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. src/crypto/internal/boring/build-goboring.sh

    # Prepare copy of libcrypto.a with only the checked functions renamed and exported.
    # All other symbols are left alone and hidden.
    echo BORINGSSL_bcm_power_on_self_test >>syms.txt
    awk '{print "_goboringcrypto_" $0 }' syms.txt >globals.txt
    awk '{print $0 " _goboringcrypto_" $0 }' syms.txt >renames.txt
    objcopy --globalize-symbol=BORINGSSL_bcm_power_on_self_test \
    	../boringssl/build/crypto/libcrypto.a libcrypto.a
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/io/fs/glob_test.go

    	_, err := Glob(os.DirFS("."), "/*"+strings.Repeat("/", 10001))
    	if err != path.ErrBadPattern {
    		t.Fatalf("Glob returned err=%v, want %v", err, path.ErrBadPattern)
    	}
    }
    
    type globOnly struct{ GlobFS }
    
    func (globOnly) Open(name string) (File, error) { return nil, ErrNotExist }
    
    func TestGlobMethod(t *testing.T) {
    	check := func(desc string, names []string, err error) {
    		t.Helper()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:36:52 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/testing/fstest/testfs.go

    }
    
    // checkGlob checks that various glob patterns work if the file system implements GlobFS.
    func (t *fsTester) checkGlob(dir string, list []fs.DirEntry) {
    	if _, ok := t.fsys.(fs.GlobFS); !ok {
    		return
    	}
    
    	// Make a complex glob pattern prefix that only matches dir.
    	var glob string
    	if dir != "." {
    		elem := strings.Split(dir, "/")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/testdata/break_test.go

    	var n int
    Next:
    	for j := 0; j < 30; j += 10 {
    		for i := 0; i < 10; i++ {
    			if i == 6 {
    				break Next
    			}
    			n = i
    		}
    		n += j
    	}
    	return n
    }
    
    var g, h int // globals to ensure optimizations don't collapse our switch statements
    
    func switchPlain_ssa() int {
    	var n int
    	switch g {
    	case 0:
    		n = 1
    		break
    		n = 2
    	}
    	return n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/module/module.go

    		var glob string
    		if i := strings.Index(globs, ","); i >= 0 {
    			glob, globs = globs[:i], globs[i+1:]
    		} else {
    			glob, globs = globs, ""
    		}
    		glob = strings.TrimSuffix(glob, "/")
    		if glob == "" {
    			continue
    		}
    
    		// A glob with N+1 path elements (N slashes) needs to be matched
    		// against the first N+1 path elements of target,
    		// which end just before the N+1'th slash.
    		n := strings.Count(glob, "/")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. src/runtime/mbarrier.go

    //
    // Global writes:
    //
    // The Go garbage collector requires write barriers when heap pointers
    // are stored in globals. Many garbage collectors ignore writes to
    // globals and instead pick up global -> heap pointers during
    // termination. This increases pause time, so we instead rely on write
    // barriers for writes to globals so that we don't have to rescan
    // global during mark termination.
    //
    //
    // Publication ordering:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top