- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 97 for umagic (0.21 sec)
-
src/cmd/compile/internal/ssa/magic_test.go
got++ } if want != got { t.Errorf("signed magic wrong for %d / %d: got %d, want %d (m=%d,s=%d)\n", i, c, got, want, m, s) } } } } func testMagicExhaustiveU(t *testing.T, n uint) { max := uint64(1) << n for c := uint64(1); c < max; c++ { if !umagicOK(n, int64(c)) { continue } m := umagic(n, int64(c)).m s := umagic(n, int64(c)).s for i := uint64(0); i < max; i++ { want := i / c
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 22:02:07 UTC 2019 - 9.1K bytes - Viewed (0) -
src/go/internal/gccgoimporter/importer.go
} reader = r } var magics string magics, err = readMagic(reader) if err != nil { return } if magics == archiveMagic || magics == aixbigafMagic { reader, err = arExportData(reader) if err != nil { return } magics, err = readMagic(reader) if err != nil { return } } switch magics { case gccgov1Magic, gccgov2Magic, gccgov3Magic:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 18:41:18 UTC 2020 - 6.8K bytes - Viewed (0) -
src/debug/macho/fat.go
// Start with the magic number. err := binary.Read(sr, binary.BigEndian, &ff.Magic) if err != nil { return nil, &FormatError{0, "error reading magic number", nil} } else if ff.Magic != MagicFat { // See if this is a Mach-O file via its magic number. The magic // must be converted to little endian first though. var buf [4]byte binary.BigEndian.PutUint32(buf[:], ff.Magic)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 4.1K bytes - Viewed (0) -
src/runtime/cgo/gcc_android.c
} pthread_setspecific(k, (void*)magic1); // If thread local slots are laid out as we expect, our magic word will // be located at some low offset from tlsbase. However, just in case something went // wrong, the search is limited to sensible offsets. PTHREAD_KEYS_MAX was the // original limit, but issue 19472 made a higher limit necessary. for (i=0; i<384; i++) { if (*(tlsbase+i) == (void*)magic1) { *tlsg = (void*)(i*sizeof(void *));
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 09 23:17:17 UTC 2020 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/materialize_passthrough_op.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 30 10:34:48 UTC 2022 - 1.2K bytes - Viewed (0) -
src/internal/xcoff/ar.go
// Read File Header var magic [SAIAMAG]byte if _, err := sr.ReadAt(magic[:], 0); err != nil { return nil, err } arch := new(Archive) switch string(magic[:]) { case AIAMAGBIG: arch.magic = string(magic[:]) case AIAMAG: return nil, fmt.Errorf("small AIX archive not supported") default: return nil, fmt.Errorf("unrecognised archive magic: 0x%x", magic) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:32:51 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/mlir_passthrough_op.pbtxt
key: "mlir_module" value { s: "\nfunc @main(%arg0 : tensor<10xf32>, %arg1 : tensor<10xf32>) -> tensor<10x10xf32> {\n %add = \"tf.Add\"(%arg0, %arg1) : (tensor<10xf32>, tensor<10xf32>) -> tensor<10xf32>\n %ret = \"magic.op\"(%add, %add) : (tensor<10xf32>, tensor<10xf32>) -> tensor<10x10xf32>\n return %ret : tensor<10x10xf32>\n}\n" } } } node { name: "Identity" op: "Identity" input: "MlirPassthroughOp" attr {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 1.9K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_test.go
} if x.i != x.n { t.Fatalf("wrong x.i after swap: x.i=%#x x.n=%#x", x.i, x.n) } if x.before != _magic || x.after != _magic { t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, _magic, _magic) } } } func TestStorepNoWB(t *testing.T) { var p [2]*int for i := range p {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.5K bytes - Viewed (0) -
src/image/format.go
} // match reports whether magic matches b. Magic may contain "?" wildcards. func match(magic string, b []byte) bool { if len(magic) != len(b) { return false } for i, c := range b { if magic[i] != c && magic[i] != '?' { return false } } return true } // sniff determines the format of r's data. func sniff(r reader) format { formats, _ := atomicFormats.Load().([]format)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 3K bytes - Viewed (0) -
test/fixedbugs/bug329.go
Y int } type Struct struct { X complex128 } const magic = 1 + 2i func (Value) Complex(x complex128) { if x != magic { println(x) panic("bad complex magic") } } func f(x *byte, y, z int) complex128 { return magic } func (Value) Struct(x Struct) { if x.X != magic { println(x.X) panic("bad struct magic") } } func f1(x *byte, y, z int) Struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 707 bytes - Viewed (0)