- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for ptrdata1 (0.37 sec)
-
src/cmd/cgo/internal/testerrors/ptr_test.go
name: "ptrdata1", c: `#include <stdlib.h> void f26(void* p) {}`, imports: []string{"unsafe"}, support: `type S26 struct { p *int; a [8*8]byte; u uintptr }`, body: `i := 0; p := &S26{u:uintptr(unsafe.Pointer(&i))}; q := (*S26)(C.malloc(C.size_t(unsafe.Sizeof(*p)))); *q = *p; C.f26(unsafe.Pointer(q))`, fail: false, }, { // Like ptrdata1, but with a type that uses a GC program.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:49 UTC 2023 - 21.2K bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/global/main.go
import ( "testshared/globallib" ) //go:noinline func testLoop() { for i, s := range globallib.Data { if s != int64(i) { panic("testLoop: mismatch") } } } //go:noinline func ptrData() *[1<<20 + 10]int64 { return &globallib.Data } //go:noinline func testMediumOffset() { for i, s := range globallib.Data[1<<16-2:] { if s != int64(i)+1<<16-2 { panic("testMediumOffset: index mismatch")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.4K bytes - Viewed (0) -
src/runtime/stack.go
// if non-negative, offset from argp off int32 size int32 _ptrdata int32 // ptrdata, or -ptrdata is GC prog is used gcdataoff uint32 // offset to gcdata from moduledata.rodata } func (r *stackObjectRecord) useGCProg() bool { return r._ptrdata < 0 } func (r *stackObjectRecord) ptrdata() uintptr { x := r._ptrdata if x < 0 { return uintptr(-x) } return uintptr(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 41.1K bytes - Viewed (0) -
.github/workflows/mint/minio-pools.yaml
services: minio1: <<: *minio-common hostname: minio1 volumes: - pdata1-1:/pdata1 - pdata1-2:/pdata2 minio2: <<: *minio-common hostname: minio2 volumes: - pdata2-1:/pdata1 - pdata2-2:/pdata2 minio3: <<: *minio-common hostname: minio3 volumes: - pdata3-1:/pdata1 - pdata3-2:/pdata2 minio4: <<: *minio-common
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Nov 03 21:18:18 UTC 2023 - 2.3K bytes - Viewed (0) -
.github/workflows/mint/minio-resiliency.yaml
services: minio1: <<: *minio-common hostname: minio1 volumes: - rdata1-1:/rdata1 - rdata1-2:/rdata2 minio2: <<: *minio-common hostname: minio2 volumes: - rdata2-1:/rdata1 - rdata2-2:/rdata2 minio3: <<: *minio-common hostname: minio3 volumes: - rdata3-1:/rdata1 - rdata3-2:/rdata2 minio4: <<: *minio-common
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateObjectiveCBaseNamesTestApp.groovy
void sayFoo$index() { NSFileHandle *stdout = [NSFileHandle fileHandleWithStandardOutput]; NSData *strData = [@"foo$index" dataUsingEncoding: NSASCIIStringEncoding]; [stdout writeData: strData]; } """) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateObjectiveCppBaseNamesTestApp.groovy
void sayFoo1() { NSFileHandle *stdout = [NSFileHandle fileHandleWithStandardOutput]; NSData *strData = [@"foo1" dataUsingEncoding: NSASCIIStringEncoding]; [stdout writeData: strData]; } """), sourceFile("objcpp/foo2", "foo.mm", """ #import <iostream> #import "foo.h"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/MixedObjectiveCHelloWorldApp.groovy
{ NSString *hello = @"Hello"; NSFileHandle *stdout = [NSFileHandle fileHandleWithStandardOutput]; NSData *strData = [hello dataUsingEncoding: NSASCIIStringEncoding]; [stdout writeData: strData]; }"""), sourceFile("c", "clib.c", """ #include <stdio.h> #include "hello.h" void bonjour() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/decodesym.go
if ctxt.loader.SymType(s) == sym.SDYNIMPORT { symData := ctxt.loader.Data(s) addr := decodetypeGcprogShlib(ctxt, symData) ptrdata := decodetypePtrdata(ctxt.Arch, symData) sect := findShlibSection(ctxt, ctxt.loader.SymPkg(s), addr) if sect != nil { bits := ptrdata / int64(ctxt.Arch.PtrSize) r := make([]byte, (bits+7)/8) // ldshlibsyms avoids closing the ELF file so sect.ReadAt works.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/ObjectiveCppHelloWorldApp.groovy
NSString *helloWorld = @"${HELLO_WORLD}\\n"; NSFileHandle *stdout = [NSFileHandle fileHandleWithStandardOutput]; NSData *strData = [helloWorld dataUsingEncoding: NSASCIIStringEncoding]; [stdout writeData: strData]; #endif } """), new SourceFile("objcpp", "sum.mm", """ #include "common.h"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.3K bytes - Viewed (0)