Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 354 for Gotype (0.11 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

            rng.uniform(low=0.0, high=1.0, size=static_input_shape).astype(
                np.float32
            )
        )
    
        def data_gen() -> repr_dataset.RepresentativeDataset:
          for _ in range(100):
            yield {
                'input_tensor': rng.uniform(
                    low=0.0, high=1.0, size=static_input_shape
                ).astype(np.float32)
            }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/TypedNotationConverterTest.groovy

    
    import spock.lang.Specification
    
    public class TypedNotationConverterTest extends Specification {
    
        def parser = NotationParserBuilder.toType(Integer).converter(new DummyConverter()).toComposite()
    
        def "parses object of source type"(){
            expect:
            parser.parseNotation("100") == 100
        }
    
        def "throws meaningful exception on parse attempt"(){
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 16 07:34:13 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  3. src/net/internal/socktest/switch_posix.go

    	}
    }
    
    func typeString(sotype int) string {
    	var s string
    	switch sotype & 0xff {
    	case syscall.SOCK_STREAM:
    		s = "stream"
    	case syscall.SOCK_DGRAM:
    		s = "datagram"
    	case syscall.SOCK_RAW:
    		s = "raw"
    	case syscall.SOCK_SEQPACKET:
    		s = "seqpacket"
    	default:
    		s = fmt.Sprintf("%d", sotype&0xff)
    	}
    	if flags := uint(sotype) & ^uint(0xff); flags != 0 {
    		s += fmt.Sprintf("|%#x", flags)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/dsl/DependencyResultSpecNotationConverter.java

        }
    
        public static NotationParser<Object, Spec<DependencyResult>> parser() {
            return NotationParserBuilder
                    .toType(new TypeInfo<Spec<DependencyResult>>(Spec.class))
                    .invalidNotationMessage("Please check the input for the DependencyInsight.dependency element.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 27 14:58:38 UTC 2020
    - 2K bytes
    - Viewed (0)
  5. src/net/sockopt_solaris.go

    )
    
    func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
    	if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
    		// Allow both IP versions even if the OS default
    		// is otherwise. Note that some operating systems
    		// never admit this option.
    		syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only))
    	}
    	if (sotype == syscall.SOCK_DGRAM || sotype == syscall.SOCK_RAW) && family != syscall.AF_UNIX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 09 00:33:27 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  6. platforms/software/signing/src/main/java/org/gradle/plugins/signing/signatory/internal/ConfigurableSignatoryProvider.java

    import org.gradle.plugins.signing.signatory.SignatoryProvider;
    import org.gradle.security.internal.BaseSignatoryProvider;
    import org.gradle.util.internal.ConfigureUtil;
    
    import static org.codehaus.groovy.runtime.DefaultGroovyMethods.asType;
    
    public interface ConfigurableSignatoryProvider<T extends Signatory> extends BaseSignatoryProvider<T>, SignatoryProvider<T> {
        @Override
        default void configure(SigningExtension settings, Closure closure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. src/net/sock_cloexec_solaris.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) {
    	// Perform a cheap test and try the fast path first.
    	if unix.SupportSockNonblockCloexec() {
    		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
    - 1.4K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/resolve/NativeDependencyNotationParser.java

    import javax.annotation.Nullable;
    
    class NativeDependencyNotationParser {
        public static NotationParser<Object, NativeLibraryRequirement> parser() {
            return NotationParserBuilder
                    .toType(NativeLibraryRequirement.class)
                    .converter(new LibraryConverter())
                    .converter(new NativeLibraryRequirementMapNotationConverter())
                    .toComposite();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

        /**
         * Returns the dependency type id.
         * The id uniquely identifies this <i>dependency type</i>.
         *
         * @return the id of this type, never {@code null}.
         */
        @Nonnull
        String id();
    
        /**
         * Returns the dependency type language.
         *
         * @return the language of this type, never {@code null}.
         */
        @Nonnull
        Language getLanguage();
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/type.go

    package syntax
    
    import "go/constant"
    
    // A Type represents a type of Go.
    // All types implement the Type interface.
    // (This type originally lived in types2. We moved it here
    // so we could depend on it from other packages without
    // introducing an import cycle.)
    type Type interface {
    	// Underlying returns the underlying type of a type.
    	// Underlying types are never Named, TypeParam, or Alias types.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top