- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 210 for gotype (0.21 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/plugins/DslObject.java
} public Class<?> getImplementationType() { return GeneratedSubclasses.unpackType(object); } private static <T> T toType(Object delegate, Class<T> type) { if (type.isInstance(delegate)) { return type.cast(delegate); } else { throw new IllegalStateException(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ParamsMatchingConstructorSelector.java
while (param != null && toParam < parameterTypes.length) { Class<?> toType = parameterTypes[toParam]; if (toType.isPrimitive()) { toType = JavaReflectionUtil.getWrapperTypeForPrimitiveType(toType); } if (toType.isInstance(param)) { break; } toParam++;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.2K bytes - Viewed (0) -
src/net/internal/socktest/switch_unix.go
// Sockets maps a socket descriptor to the status of socket. type Sockets map[int]Status func (sw *Switch) sockso(s int) *Status { sw.smu.RLock() defer sw.smu.RUnlock() so, ok := sw.sotab[s] if !ok { return nil } return &so } // addLocked returns a new Status without locking. // sw.smu must be held before call. func (sw *Switch) addLocked(s, family, sotype, proto int) *Status { sw.once.Do(sw.init)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:54:10 UTC 2023 - 718 bytes - Viewed (0) -
src/cmd/fix/egltype.go
name: "egl", date: "2018-12-15", f: eglfixDisp, desc: `Fixes initializers of EGLDisplay`, disabled: false, } // Old state: // // type EGLDisplay unsafe.Pointer // // New state: // // type EGLDisplay uintptr // // This fix finds nils initializing these types and replaces the nils with 0s. func eglfixDisp(f *ast.File) bool { return typefix(f, func(s string) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.1K bytes - Viewed (0) -
src/net/fd_windows.go
ZeroReadIsEOF: sotype != syscall.SOCK_DGRAM && sotype != syscall.SOCK_RAW, }, family: family, sotype: sotype, net: net, } return ret, nil } func (fd *netFD) init() error { errcall, err := fd.pfd.Init(fd.net, true) if errcall != "" { err = wrapSyscallError(errcall, err) } return err } // Always returns nil for connected peer address result.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 16:46:10 UTC 2024 - 6.2K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt
import org.jetbrains.kotlin.name.Name public sealed interface KaType : KaLifetimeOwner, KaAnnotated { public val nullability: KaTypeNullability /** * The abbreviated type for this expanded [KaType], or `null` if this type has not been expanded from an abbreviated type or the * abbreviated type cannot be resolved. *
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 8.5K bytes - Viewed (0) -
src/cmd/fix/cftype.go
// (*unsafe.Pointer)(x) where x is type *bad -> (*unsafe.Pointer)(unsafe.Pointer(x)) // (*bad.type)(x) where x is type *unsafe.Pointer -> (*bad.type)(unsafe.Pointer(x)) walk(f, func(n any) { if n == nil { return } // Find pattern like (*a.b)(x) c, ok := n.(*ast.CallExpr) if !ok { return } if len(c.Args) != 1 { return } p, ok := c.Fun.(*ast.ParenExpr) if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:25:49 UTC 2023 - 3.5K bytes - Viewed (0) -
src/net/sock_cloexec.go
package net import ( "os" "syscall" ) // Wrapper around the socket system call that marks the returned file // descriptor as nonblocking and close-on-exec. func sysSocket(family, sotype, proto int) (int, error) { s, err := socketFunc(family, sotype|syscall.SOCK_NONBLOCK|syscall.SOCK_CLOEXEC, proto) if err != nil { return -1, os.NewSyscallError("socket", err) } return s, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:25 UTC 2024 - 730 bytes - Viewed (0) -
src/net/sock_windows.go
// "a reasonable maximum value". // See: https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-listen return syscall.SOMAXCONN } func sysSocket(family, sotype, proto int) (syscall.Handle, error) { s, err := wsaSocketFunc(int32(family), int32(sotype), int32(proto), nil, 0, windows.WSA_FLAG_OVERLAPPED|windows.WSA_FLAG_NO_HANDLE_INHERIT) if err != nil { return syscall.InvalidHandle, os.NewSyscallError("socket", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 18:52:56 UTC 2024 - 802 bytes - Viewed (0) -
src/net/sock_posix.go
func socket(ctx context.Context, net string, family, sotype, proto int, ipv6only bool, laddr, raddr sockaddr, ctrlCtxFn func(context.Context, string, string, syscall.RawConn) error) (fd *netFD, err error) { s, err := sysSocket(family, sotype, proto) if err != nil { return nil, err } if err = setDefaultSockopts(s, family, sotype, ipv6only); err != nil { poll.CloseFunc(s) return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 6.3K bytes - Viewed (0)