Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for Dobson (0.12 sec)

  1. platforms/extensibility/plugin-development/src/test/groovy/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerializationTest.groovy

            given:
            def problem = problemReporter.create {
                it.id("id", "label", GradleCoreProblemGroup.validation())
            }
    
            when:
            def json = gson.toJson([problem])
            def deserialized = ValidationProblemSerialization.parseMessageList(json)
    
            then:
            deserialized.size() == 1
            deserialized[0].definition.id.name == "id"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. test/clearfat.go

    var count int
    
    $DECLS
    
    func main() {
    	$CALLS
    	if count != 0 {
    		println("failed", count, "case(s)")
    	}
    }
    `
    
    const decl = `
    func poison$() {
    	// Grow and poison the stack space that will be used by clearfat$
    	var t [2*$]byte
    	for i := range t {
    		t[i] = 0xff
    	}
    }
    
    func clearfat$() {
    	var t [$]byte
    
    	for _, x := range t {
    		if x != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 31 15:08:27 UTC 2014
    - 1.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/testdata/msan4.go

    void poison() __attribute__ ((weak));
    
    // Poison the stack.
    void poison() {
    	char a[1024];
    	Nop(&a[0]);
    }
    
    */
    import "C"
    
    import (
    	"runtime"
    )
    
    func main() {
    	runtime.MemProfileRate = 1
    	start(100)
    }
    
    func start(i int) {
    	if i == 0 {
    		return
    	}
    	C.poison()
    	// Tie up a thread.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 878 bytes
    - Viewed (0)
  4. src/net/lookup_windows_test.go

    		}
    		slices.SortFunc(expected, byPrefAndHost)
    		slices.SortFunc(mx, byPrefAndHost)
    		if !reflect.DeepEqual(expected, mx) {
    			t.Errorf("different results %s:\texp:%v\tgot:%v", server, toJson(expected), toJson(mx))
    		}
    	})
    }
    
    func TestNSLookupCNAME(t *testing.T) {
    	testenv.MustHaveExternalNetwork(t)
    
    	testLookup(t, func(t *testing.T, r *Resolver, server string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. test/fixedbugs/issue50671.go

    //go:noinline
    func F(x int32) (float64, int64) {
    	a := float64(x)
    	b := int64(x)
    	return a, b
    }
    
    var a, b, c float64
    
    // Poison some floating point registers with non-zero high bits.
    //
    //go:noinline
    func poison(x float64) {
    	a = x - 123.45
    	b = a * 1.2
    	c = b + 3.4
    }
    
    func main() {
    	poison(333.3)
    	_, b := F(123)
    	if b != 123 {
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 19 15:45:58 UTC 2022
    - 599 bytes
    - Viewed (0)
  6. tests/integration/security/testdata/authz/conditions.yaml.tmpl

        - operation:
            paths: [ "/source-ip" ]
        when:
        - key: source.ip
          values: {{ .Allowed.MustWorkloads.Addresses | toJson }}
      - to:
          - operation:
              paths: [ "/source-ip-notValues" ]
        when:
          - key: source.ip
            notValues: {{ .Denied.MustWorkloads.Addresses | toJson }}
    ---
    
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. test/fixedbugs/issue8155.go

    		var x [1]*int
    		p = &x[0]
    	}
    	runtime.GC()
    	if p != nil {
    		x1 = uintptr(**p)
    	}
    	return x1
    }
    
    func poison() uintptr {
    	runtime.GC()
    	var x [20]uintptr
    	var s uintptr
    	for i := range x {
    		x[i] = uintptr(i+1)
    		s += x[i]
    	}
    	return s
    }
    
    func main() {
    	poison()
    	bad(false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 711 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authentication/group/token_group_adder_test.go

    		t.Errorf("Expected original,added groups, got %#v", r.User.GetGroups())
    	}
    
    	if got := toJson(response); got != orig {
    		t.Errorf("Expected response from delegate to be unmodified: orig=%v got=%v", orig, got)
    	}
    }
    
    func toJson(x interface{}) string {
    	b, _ := json.Marshal(x)
    	return string(b)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 11 20:04:50 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testsanitizers/asan_test.go

    		{src: "asan3_fail.go", memoryAccessError: "use-after-poison", errorLocation: "asan3_fail.go:13"},
    		{src: "asan4_fail.go", memoryAccessError: "use-after-poison", errorLocation: "asan4_fail.go:13"},
    		{src: "asan5_fail.go", memoryAccessError: "use-after-poison", errorLocation: "asan5_fail.go:18"},
    		{src: "asan_useAfterReturn.go"},
    		{src: "asan_unsafe_fail1.go", memoryAccessError: "use-after-poison", errorLocation: "asan_unsafe_fail1.go:25"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  10. test/fixedbugs/issue26407.go

    // Issue 26407: ensure that stack variables which have
    // had their address taken and then used in a comparison,
    // but are otherwise unused, are cleared.
    
    package main
    
    func main() {
    	poison()
    	test()
    }
    
    //go:noinline
    func poison() {
    	// initialise the stack with invalid pointers
    	var large [256]uintptr
    	for i := range large {
    		large[i] = 1
    	}
    	use(large[:])
    }
    
    //go:noinline
    func test() {
    	a := 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 17 14:58:54 UTC 2018
    - 964 bytes
    - Viewed (0)
Back to top