Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 445 for Invokes (0.12 sec)

  1. src/runtime/atomic_pointer.go

    	slot := (*uintptr)(unsafe.Pointer(ptr))
    	buf := getg().m.p.ptr().wbBuf.get2()
    	buf[0] = *slot
    	buf[1] = uintptr(new)
    }
    
    // atomicstorep performs *ptr = new atomically and invokes a write barrier.
    //
    //go:nosplit
    func atomicstorep(ptr unsafe.Pointer, new unsafe.Pointer) {
    	if writeBarrier.enabled {
    		atomicwb((*unsafe.Pointer)(ptr), new)
    	}
    	if goexperiment.CgoCheck2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/runtime/pprof/label.go

    // whether that label exists.
    func Label(ctx context.Context, key string) (string, bool) {
    	ctxLabels := labelValue(ctx)
    	v, ok := ctxLabels[key]
    	return v, ok
    }
    
    // ForLabels invokes f with each label set on the context.
    // The function f should return true to continue iteration or false to stop iteration early.
    func ForLabels(ctx context.Context, f func(key, value string) bool) {
    	ctxLabels := labelValue(ctx)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    import org.gradle.api.file.Directory
    import org.gradle.api.provider.Provider
    import org.gradle.internal.os.OperatingSystem
    import org.gradle.kotlin.dsl.*
    
    
    // `generatePrecompiledScriptPluginAccessors` task invokes this method without `gradle.build-environment` applied
    fun Project.getBuildEnvironmentExtension(): BuildEnvironmentExtension? = extensions.findByType(BuildEnvironmentExtension::class.java)
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 16:58:31 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/net/http/clone.go

    	if fh == nil {
    		return nil
    	}
    	fh2 := new(multipart.FileHeader)
    	*fh2 = *fh
    	fh2.Header = textproto.MIMEHeader(Header(fh.Header).Clone())
    	return fh2
    }
    
    // cloneOrMakeHeader invokes Header.Clone but if the
    // result is nil, it'll instead make and return a non-nil Header.
    //
    // cloneOrMakeHeader should be an internal detail,
    // but widely used packages access it using linkname.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/toolchain/select.go

    //	"mismatch" - like "switch" but forget to set TESTGO_VERSION, so it looks like we invoked a mismatched toolchain
    //	"loop" - like "mismatch" but forget the target check, causing a toolchain switching loop
    var TestVersionSwitch string
    
    // Exec invokes the specified Go toolchain or else prints an error and exits the process.
    // If $GOTOOLCHAIN is set to path or min+path, Exec only considers the PATH
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. src/internal/coverage/cfile/apis.go

    	// corresponding to the counter values. We do this to avoid the
    	// following bad scenario: suppose that a user builds their Go
    	// program with "-cover", and that program has a function (call it
    	// main.XYZ) that invokes ClearCounters:
    	//
    	//     func XYZ() {
    	//       ... do some stuff ...
    	//       coverage.ClearCounters()
    	//       if someCondition {   <<--- HERE
    	//         ...
    	//       }
    	//     }
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       */
      public static ListeningScheduledExecutorService noOpScheduledExecutor() {
        return new NoOpScheduledExecutorService();
      }
    
      /**
       * Creates a scheduled executor service that runs each task in the thread that invokes {@code
       * execute/submit/schedule}, as in {@link CallerRunsPolicy}. This applies both to individually
       * submitted tasks and to collections of tasks submitted via {@code invokeAll}, {@code invokeAny},
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:12:37 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. src/internal/coverage/cfile/testdata/harness.go

    	return 42
    }
    
    func preClear() int {
    	return 42
    }
    
    // This test is designed to ensure that write errors are properly
    // handled by the code that writes out coverage data. It repeatedly
    // invokes the 'emit to writer' apis using a specially crafted writer
    // that captures the total number of expected writes, then replays the
    // execution N times with a manufactured write error at the
    // appropriate spot.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       */
      public static ListeningScheduledExecutorService noOpScheduledExecutor() {
        return new NoOpScheduledExecutorService();
      }
    
      /**
       * Creates a scheduled executor service that runs each task in the thread that invokes {@code
       * execute/submit/schedule}, as in {@link CallerRunsPolicy}. This applies both to individually
       * submitted tasks and to collections of tasks submitted via {@code invokeAll}, {@code invokeAny},
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:12:37 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyClosureIntegrationTest.groovy

            }
    
            where:
            expression      | _
            "version"       | _
            "this.version"  | _
            "owner.version" | _
        }
    
        def "from-cache build fails when task action closure invokes a project method"() {
            given:
            buildFile << """
                tasks.register("some") {
                    doFirst {
                        println(file("broken"))
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top