Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,607 for Invokes (0.32 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/CompositeDynamicObjectTest.groovy

            e.message == "Could not set unknown property 'p' for <obj>."
    
            and:
            1 * obj1.trySetProperty("p", "value") >> DynamicInvokeResult.notFound()
        }
    
        def "invokes method on first delegate that has method"() {
            def obj1 = Mock(DynamicObject)
            def obj2 = Mock(DynamicObject)
            def obj3 = Mock(DynamicObject)
            obj.setObjects(obj1, obj2, obj3)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. misc/ios/README

    Go on iOS
    =========
    
    To run the standard library tests, run all.bash as usual, but with the compiler
    set to the clang wrapper that invokes clang for iOS. For example, this command runs
     all.bash on the iOS emulator:
    
    	GOOS=ios GOARCH=amd64 CGO_ENABLED=1 CC_FOR_TARGET=$(pwd)/../misc/ios/clangwrap.sh ./all.bash
    
    If CC_FOR_TARGET is not set when the toolchain is built (make.bash or all.bash), CC
    can be set on the command line. For example,
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 21:49:26 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/os_wasm.go

    	initBloc()
    	ncpu = 1
    	getg().m.procid = 2
    }
    
    const _SIGSEGV = 0xb
    
    func sigpanic() {
    	gp := getg()
    	if !canpanic() {
    		throw("unexpected signal during runtime execution")
    	}
    
    	// js only invokes the exception handler for memory faults.
    	gp.sig = _SIGSEGV
    	panicmem()
    }
    
    // func exitThread(wait *uint32)
    // FIXME: wasm doesn't have atomic yet
    func exitThread(wait *atomic.Uint32)
    
    type mOS struct{}
    
    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/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)
  6. staging/src/k8s.io/cli-runtime/pkg/resource/interfaces.go

    	Put() *rest.Request
    }
    
    // RequestTransform is a function that is given a chance to modify the outgoing request.
    type RequestTransform func(*rest.Request)
    
    // NewClientWithOptions wraps the provided RESTClient and invokes each transform on each
    // newly created request.
    func NewClientWithOptions(c RESTClient, transforms ...RequestTransform) RESTClient {
    	if len(transforms) == 0 {
    		return c
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 23:00:24 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/util.go

    func Exitf(format string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, os.Args[0]+": "+format+"\n", a...)
    	nerrors++
    	if *flagH {
    		panic("error")
    	}
    	Exit(2)
    }
    
    // afterErrorAction updates 'nerrors' on error and invokes exit or
    // panics in the proper circumstances.
    func afterErrorAction() {
    	nerrors++
    	if *flagH {
    		panic("error")
    	}
    	if nerrors > 20 {
    		Exitf("too many errors")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 20:39:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. 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)
  9. cmd/service.go

    	// the file it points to has been changed we will use the updated symlink.
    	argv0, err := exec.LookPath(os.Args[0])
    	if err != nil {
    		return err
    	}
    
    	// Invokes the execve system call.
    	// Re-uses the same pid. This preserves the pid over multiple server-respawns.
    	return syscall.Exec(argv0, os.Args, os.Environ())
    }
    
    // freezeServices will freeze all incoming S3 API calls.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. 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)
Back to top