- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Report (0.81 sec)
-
src/cmd/cgo/internal/testcshared/testdata/main0.c
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include <stdint.h> #include <stdio.h> #include "p.h" #include "libgo.h" // Tests libgo.so to export the following functions. // int8_t DidInitRun(); // int8_t DidMainRun(); // int32_t FromPkg(); // uint32_t Divu(uint32_t, uint32_t); int main(void) { int8_t ran_init = DidInitRun(); if (!ran_init) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main1.c
return 1; } int32_t ret = fn(); if (ret != want) { fprintf(stderr, "ERROR: %s=%d, want %d\n", fname, ret, want); return 1; } return 0; } // Tests libgo.so to export the following functions. // int8_t DidInitRun() // returns true // int8_t DidMainRun() // returns true // int32_t FromPkg() // returns 1024 int main(int argc, char** argv) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main2.c
#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> #define fd (30) // Tests libgo2.so, which does not export any functions. // Read a string from the file descriptor and print it. int main(void) { int i; ssize_t n; char buf[20]; struct timespec ts;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.2K bytes - Viewed (0)