Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 142 for asan (0.06 sec)

  1. src/crypto/internal/boring/rand.go

    // Copyright 2017 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 boringcrypto && linux && (amd64 || arm64) && !android && !msan
    
    package boring
    
    // #include "goboringcrypto.h"
    import "C"
    import "unsafe"
    
    type randReader int
    
    func (randReader) Read(b []byte) (int, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 696 bytes
    - Viewed (0)
  2. src/log/slog/value_access_benchmark_test.go

    					u = v
    				} else if v, ok := kv.AsFloat64(); ok {
    					f = v
    				} else if v, ok := kv.AsBool(); ok {
    					bb = v
    				} else if v, ok := kv.AsDuration(); ok {
    					d = v
    				} else if v, ok := kv.AsAny(); ok {
    					a = v
    				} else {
    					panic("bad kind")
    				}
    			}
    		}
    		_ = ii
    		_ = s
    		_ = bb
    		_ = u
    		_ = d
    		_ = f
    		_ = a
    	})
    
    	b.Run("Visit", func(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 20:55:33 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/testdata/msan_fail.go

    void f(int32_t *p, int n) {
      int32_t * volatile q = (int32_t *)malloc(sizeof(int32_t) * n);
      memcpy(p, q, n * sizeof(*p));
      free(q);
    }
    
    void g(int32_t *p, int n) {
      if (p[4] != 1) {
        // We shouldn't get here; msan should stop us first.
        exit(0);
      }
    }
    */
    import "C"
    
    import (
    	"unsafe"
    )
    
    func main() {
    	a := make([]int32, 10)
    	C.f((*C.int32_t)(unsafe.Pointer(&a[0])), C.int(len(a)))
    	a[3] = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 701 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/BUILD

            "insert_quantized_functions_drq.mlir": "medium",
            "replace_cast_hacks_with_tf_xla_ops_large_constants.mlir": "medium",
        },
        tags_override = {
            # This test has high memory usage. It causes OOM in msan mode.
            "replace_cast_hacks_with_tf_xla_ops_large_constants.mlir": ["nomsan"],
        },
        test_file_exts = ["mlir"],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 15:18:46 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/net/fd_windows.go

    		return nil, err
    	}
    
    	// Get local and peer addr out of AcceptEx buffer.
    	var lrsa, rrsa *syscall.RawSockaddrAny
    	var llen, rlen int32
    	syscall.GetAcceptExSockaddrs((*byte)(unsafe.Pointer(&rawsa[0])),
    		0, rsan, rsan, &lrsa, &llen, &rrsa, &rlen)
    	lsa, _ := lrsa.Sockaddr()
    	rsa, _ := rrsa.Sockaddr()
    
    	netfd.setAddr(netfd.addrFunc()(lsa), netfd.addrFunc()(rsa))
    	return netfd, nil
    }
    
    // Unimplemented functions.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 16:46:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/testdata/tsan15.go

    // Copyright 2024 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
    
    // Test case for issue 66427.
    // Running under TSAN, this fails with "signal handler
    // spoils errno".
    
    /*
    #include <pthread.h>
    #include <signal.h>
    #include <stdlib.h>
    
    void go_callback();
    
    static void *thr(void *arg) {
    	int i;
    	for (i = 0; i < 10; i++)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 21:14:49 UTC 2024
    - 968 bytes
    - Viewed (0)
  7. releasenotes/notes/auto-san-validation-support.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: traffic-management
    releaseNotes:
       - |
         **Added** the ability to perform automatic SAN validation based on the downstream HTTP host/authority header
         when `ENABLE_AUTO_SNI` and `VERIFY_CERTIFICATE_AT_CLIENT` feature flags are enabled.
    docs:
       - https://docs.google.com/document/d/1pTUl-Ng3nXAWJb7UGJtalftznpxQEfID/
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 17 16:51:08 UTC 2022
    - 503 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testsanitizers/testdata/msan4.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    // The memory profiler can call copy from a slice on the system stack,
    // which msan used to think meant a reference to uninitialized memory.
    
    /*
    #include <time.h>
    #include <unistd.h>
    
    extern void Nop(char*);
    
    // Use weak as a hack to permit defining a function even though we use export.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 878 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testsanitizers/testdata/tsan11.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    // This program hung when run under the C/C++ ThreadSanitizer. TSAN defers
    // asynchronous signals until the signaled thread calls into libc. The runtime's
    // sysmon goroutine idles itself using direct usleep syscalls, so it could
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testsanitizers/testdata/tsan9.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    // This program failed when run under the C/C++ ThreadSanitizer. The
    // TSAN library was not keeping track of whether signals should be
    // delivered on the alternate signal stack, and the Go signal handler
    // was not preserving callee-saved registers from C callers.
    
    /*
    #cgo CFLAGS: -g -fsanitize=thread
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top