Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 79 for getfh (0.04 sec)

  1. platforms/documentation/docs/src/snippets/configurationCache/problemsFixedReuse/groovy/build.gradle

    abstract class MyCopyTask extends DefaultTask {
    
        @InputDirectory abstract DirectoryProperty getSource()
    
        @OutputDirectory abstract DirectoryProperty getDestination()
    
        @Inject abstract FileSystemOperations getFs()
    
        @TaskAction
        void action() {
            fs.copy {
                from source
                into destination
            }
        }
    }
    
    // tag::fixed-reuse[]
    tasks.register('someTask', MyCopyTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 607 bytes
    - Viewed (0)
  2. src/runtime/testdata/testprog/framepointer_arm64.s

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    TEXT	·getFP(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD	R29, ret+0(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 22:58:13 UTC 2023
    - 249 bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

        public abstract DirectoryProperty getDestinationDirectory();
    
        @Inject
        protected abstract FileSystemOperations getFs();
    
        @TaskAction
        public void generate() {
            // TODO: This could probably use InputChanges API
            File destinationDirectory = getDestinationDirectory().get().getAsFile();
            getFs().delete(spec -> spec.delete(destinationDirectory));
            destinationDirectory.mkdirs();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 28 06:35:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  4. src/runtime/os_wasm.go

    type gsignalStack struct{}
    
    const preemptMSupported = false
    
    func preemptM(mp *m) {
    	// No threads, so nothing to do.
    }
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    // TODO: Make this a compiler intrinsic
    func getfp() uintptr { return 0 }
    
    func setProcessCPUProfiler(hz int32) {}
    func setThreadCPUProfiler(hz int32)  {}
    func sigdisable(uint32)              {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/runtime/testdata/testprog/framepointer_amd64.s

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    TEXT	·getFP(SB), NOSPLIT|NOFRAME, $0-8
    	MOVQ	BP, ret+0(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 22:58:13 UTC 2023
    - 248 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/configurationCache/problemsFixed/groovy/build.gradle

        @InputDirectory abstract DirectoryProperty getSource() // <2>
    
        @OutputDirectory abstract DirectoryProperty getDestination() // <2>
    
        @Inject abstract FileSystemOperations getFs() // <3>
    
        @TaskAction
        void action() {
            fs.copy { // <3>
                from source
                into destination
            }
        }
    }
    
    tasks.register('someTask', MyCopyTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 617 bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java

        @Input
        public abstract MapProperty<String, String> getReplacementTokens();
    
        @Inject
        protected abstract FileSystemOperations getFs();
    
        @TaskAction
        public void transform() {
            File destinationFile = getDestinationFile().get().getAsFile();
    
            getFs().copy(copySpec -> {
                copySpec.from(getHtmlFile());
                copySpec.into(destinationFile.getParentFile());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 28 06:35:15 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  8. pkg/kubelet/util/manager/watch_based_manager_test.go

    		}
    		return true, nil
    	}
    	if err := wait.PollImmediate(10*time.Millisecond, time.Second, getFn); err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    	// Eventually we should observer secret deletion.
    	fakeWatch.Delete(secret)
    	getFn = func() (bool, error) {
    		_, err := store.Get("ns", "name")
    		if err != nil {
    			if apierrors.IsNotFound(err) {
    				return true, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 10:05:43 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/file/ArchiveOperationsIntegrationTest.groovy

                    @InputFile abstract RegularFileProperty getArchiveFile()
                    @OutputDirectory abstract DirectoryProperty getUnpackDir()
                    @Inject abstract FileSystemOperations getFs()
                    @Inject abstract ArchiveOperations getArchives()
                    @TaskAction void action() {
                        fs.copy {
                            from(archives.${archiveType}Tree(archiveFile))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskEncodingIntegrationSpec.groovy

            given:
            def nonAsciiFileName = "القيادة والسيطرة - الإدارة.lnk"
    
            buildFile """
                interface Services {
                    @Inject FileSystemOperations getFs()
                }
                task copyFiles {
                    def fs = objects.newInstance(Services).fs
                    doLast {
                        fs.copy {
                            from 'res'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top