Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 354 for Gotype (0.12 sec)

  1. src/sync/atomic/type.go

    var _ = &Pointer[int]{}
    
    // A Pointer is an atomic pointer of type *T. The zero value is a nil *T.
    type Pointer[T any] struct {
    	// Mention *T in a field to disallow conversion between Pointer types.
    	// See go.dev/issue/56603 for more details.
    	// Use *T, not T, to avoid spurious recursive type definition errors.
    	_ [0]*T
    
    	_ noCopy
    	v unsafe.Pointer
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/concurrency_test.py

        def data_gen():
          for _ in range(255):
            yield {
                'x': ops.convert_to_tensor(
                    np.random.uniform(size=(10)).astype('f4')
                ),
                'y': ops.convert_to_tensor(
                    np.random.uniform(size=(10)).astype('f4')
                ),
            }
    
        root = ModelWithAdd()
    
        temp_path = self.create_tempdir().full_path
        saved_model_save.save(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 11 00:47:05 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. src/net/internal/socktest/sys_windows.go

    import (
    	"internal/syscall/windows"
    	"syscall"
    )
    
    // WSASocket wraps [syscall.WSASocket].
    func (sw *Switch) WSASocket(family, sotype, proto int32, protinfo *syscall.WSAProtocolInfo, group uint32, flags uint32) (s syscall.Handle, err error) {
    	sw.once.Do(sw.init)
    
    	so := &Status{Cookie: cookie(int(family), int(sotype), int(proto))}
    	sw.fmu.RLock()
    	f, _ := sw.fltab[FilterSocket]
    	sw.fmu.RUnlock()
    
    	af, err := f.apply(so)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/net/sys_cloexec.go

    )
    
    // 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) {
    	// See ../syscall/exec_unix.go for description of ForkLock.
    	syscall.ForkLock.RLock()
    	s, err := socketFunc(family, sotype, proto)
    	if err == nil {
    		syscall.CloseOnExec(s)
    	}
    	syscall.ForkLock.RUnlock()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 03 14:38:32 UTC 2022
    - 962 bytes
    - Viewed (0)
  5. src/net/sockaddr_posix.go

    	switch fd.family {
    	case syscall.AF_INET, syscall.AF_INET6:
    		switch fd.sotype {
    		case syscall.SOCK_STREAM:
    			return sockaddrToTCP
    		case syscall.SOCK_DGRAM:
    			return sockaddrToUDP
    		case syscall.SOCK_RAW:
    			return sockaddrToIP
    		}
    	case syscall.AF_UNIX:
    		switch fd.sotype {
    		case syscall.SOCK_STREAM:
    			return sockaddrToUnix
    		case syscall.SOCK_DGRAM:
    			return sockaddrToUnixgram
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/ComponentIdentifierParserFactory.java

        @Nullable
        @Override
        public NotationParser<Object, ComponentIdentifier> create() {
            return NotationParserBuilder.toType(ComponentIdentifier.class)
                .fromCharSequence(new StringNotationConverter())
                .converter(new ComponentIdentifierMapNotationConverter())
                .toComposite();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/BiProvider.java

        private final Class<R> type;
        private final BiFunction<? super A, ? super B, ? extends R> combiner;
        private final ProviderInternal<A> left;
        private final ProviderInternal<B> right;
    
        public BiProvider(@Nullable Class<R> type, Provider<A> left, Provider<B> right, BiFunction<? super A, ? super B, ? extends R> combiner) {
            this.type = type;
            this.combiner = combiner;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/reflect/export_test.go

    		for _, off := range offs {
    			typ := (*rtype)(resolveTypeOff(rodata, off))
    			r = append(r, typ.String())
    		}
    	}
    	return r
    }
    
    var GCBits = gcbits
    
    func gcbits(any) []byte // provided by runtime
    
    func MapBucketOf(x, y Type) Type {
    	return toType(bucketOf(x.common(), y.common()))
    }
    
    func CachedBucketOf(m Type) Type {
    	t := m.(*rtype)
    	if Kind(t.t.Kind_&abi.KindMask) != Map {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MapCollectors.java

                Value<? extends V> value = providerOfValue.calculateValue(consumer);
                if (value.isMissing()) {
                    return value.asType();
                }
                collector.add(key, value.getWithoutSideEffect(), dest);
                return Value.present().withSideEffect(SideEffect.fixedFrom(value));
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 12:22:39 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/vcstest/go/test1-svn-git.txt

    handle dir
    
    -- aaa/index.html --
    <!DOCTYPE html>
    <html>
    <meta name="go-import" content="vcs-test.golang.org/go/test1-svn-git svn https://vcs-test.golang.org/svn/test1-svn-git">
    -- git-README-only/index.html --
    <!DOCTYPE html>
    <html>
    <meta name="go-import" content="vcs-test.golang.org/go/test1-svn-git/git-README-only git https://vcs-test.golang.org/git/README-only">
    -- git-README-only/other/index.html --
    <!DOCTYPE html>
    <html>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:22:22 UTC 2022
    - 1.2K bytes
    - Viewed (0)
Back to top