Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GoRun (0.03 sec)

  1. src/cmd/cgo/internal/testsanitizers/testdata/tsan2.go

    // the Go code.
    
    /*
    #cgo CFLAGS: -fsanitize=thread
    #cgo LDFLAGS: -fsanitize=thread
    
    extern void GoRun(void);
    
    // Yes, you can have definitions if you use //export, as long as they are weak.
    
    int val __attribute__ ((weak));
    
    int run(void) __attribute__ ((weak));
    
    int run() {
    	val = 1;
    	GoRun();
    	return val;
    }
    
    void setVal(int) __attribute__ ((weak));
    
    void setVal(int i) {
    	val = i;
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 940 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    		p = strrchr(buf, ":"[0]);
    		if(p)
    			*p = '\0';
    		printf("\t%d: \"%s\",\n", e, buf);
    	}
    	printf("}\n\n");
    
    	return 0;
    }
    
    '
    ) >_errors.c
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  3. src/syscall/mkerrors.sh

    		p = strrchr(buf, ":"[0]);
    		if(p)
    			*p = '\0';
    		printf("\t%d: \"%s\",\n", e, buf);
    	}
    	printf("}\n\n");
    
    	return 0;
    }
    
    '
    ) >_errors.c
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    		if(p)
    			*p = '\0';
    		printf("\t{ %d, \"%s\", \"%s\" },\n", e, signals[i].name, buf);
    	}
    	printf("}\n\n");
    
    	return 0;
    }
    
    '
    ) >_errors.c
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top