Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for getfh (0.07 sec)

  1. src/runtime/testdata/testprog/framepointer.go

    //go:noinline
    func framePointerAdjust1(x int) {
    	argp := uintptr(unsafe.Pointer(&x))
    	fp := *getFP()
    	if !(argp-0x100 <= fp && fp <= argp+0x100) {
    		print("saved FP=", fp, " &x=", argp, "\n")
    		panic("FAIL")
    	}
    
    	// grow the stack
    	grow(10000)
    
    	// check again
    	argp = uintptr(unsafe.Pointer(&x))
    	fp = *getFP()
    	if !(argp-0x100 <= fp && fp <= argp+0x100) {
    		print("saved FP=", fp, " &x=", argp, "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 22:58:13 UTC 2023
    - 839 bytes
    - Viewed (0)
  2. src/runtime/stubs_s390x.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    // Called from assembly only; declared for go vet.
    func load_g()
    func save_g()
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    // TODO: Make this a compiler intrinsic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 10:04:13 UTC 2023
    - 414 bytes
    - Viewed (0)
  3. src/runtime/stubs_mipsx.go

    //go:build mips || mipsle
    
    package runtime
    
    // Called from assembly only; declared for go vet.
    func load_g()
    func save_g()
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    // TODO: Make this a compiler intrinsic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 10:04:13 UTC 2023
    - 441 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/tasks/incrementalBuild-incrementalBuildAdvanced/kotlin/buildSrc/src/main/java/org/example/Instrument.java

        @OutputDirectory
        public abstract DirectoryProperty getDestinationDir();
    
        @Inject
        protected abstract FileSystemOperations getFs();
    
        @TaskAction
        public void doIt() {
            getFs().copy(spec -> spec.
                into(getDestinationDir()).
                from(getClassFiles()).
                rename("(.*)\\.class", "$1_instrumented.class")
            );
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 893 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/tasks/incrementalBuild-incrementalBuildAdvanced/groovy/buildSrc/src/main/java/org/example/Instrument.java

        @OutputDirectory
        public abstract DirectoryProperty getDestinationDir();
    
        @Inject
        protected abstract FileSystemOperations getFs();
    
        @TaskAction
        public void doIt() {
            getFs().copy(spec -> spec.
                into(getDestinationDir()).
                from(getClassFiles()).
                rename("(.*)\\.class", "$1_instrumented.class")
            );
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 893 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/configurationCache/projectAtExecutionFixed/groovy/build.gradle

        @Inject abstract FileSystemOperations getFs() // <1>
    
        @TaskAction
        void action() {
            fs.copy {
                from 'source'
                into 'destination'
            }
        }
    }
    // end::task-type[]
    
    tasks.register('someTaskType', SomeTask)
    
    // tag::ad-hoc-task[]
    interface Injected {
        @Inject FileSystemOperations getFs() // <1>
    }
    tasks.register('someTask') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 691 bytes
    - Viewed (0)
  7. src/runtime/stubs_386.go

    func setldt(slot uintptr, base unsafe.Pointer, size uintptr)
    func emptyfunc()
    
    //go:noescape
    func asmcgocall_no_g(fn, arg unsafe.Pointer)
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    // TODO: Make this a compiler intrinsic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 10:04:13 UTC 2023
    - 708 bytes
    - Viewed (0)
  8. src/runtime/stubs_arm64.go

    //
    // Spills/loads arguments in registers to/from an internal/abi.RegArgs
    // respectively. Does not follow the Go ABI.
    func spillArgs()
    func unspillArgs()
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    // TODO: Make this a compiler intrinsic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 10:04:13 UTC 2023
    - 700 bytes
    - Viewed (0)
  9. src/runtime/stubs_riscv64.go

    //
    // Spills/loads arguments in registers to/from an internal/abi.RegArgs
    // respectively. Does not follow the Go ABI.
    func spillArgs()
    func unspillArgs()
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    // TODO: Make this a compiler intrinsic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 695 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tasks/incrementalBuild-customTaskClass/groovy/buildSrc/src/main/java/org/example/ProcessTemplates.java

        @OutputDirectory
        public abstract DirectoryProperty getOutputDir();
    
        @Inject
        public abstract FileSystemOperations getFs();
    
        @TaskAction
        public void processTemplates() {
            // ...
    // end::custom-task-class[]
            getFs().copy(spec -> spec.
                into(getOutputDir()).
                from(getSourceFiles()).
                expand(new HashMap<>(getTemplateData().getVariables().get()))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top