Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for cctype (0.14 sec)

  1. src/runtime/type.go

    // license that can be found in the LICENSE file.
    
    // Runtime type representation.
    
    package runtime
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    type nameOff = abi.NameOff
    type typeOff = abi.TypeOff
    type textOff = abi.TextOff
    
    type _type = abi.Type
    
    // rtype is a wrapper that allows us to define additional methods.
    type rtype struct {
    	*abi.Type // embedding is okay here (unlike reflect) because none of this is public
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/fix/typecheck.go

    //
    // The strings mostly use gofmt form.
    //
    // A Field or FieldList has as its type a comma-separated list
    // of the types of the fields. For example, the field list
    //	x, y, z int
    // has type "int, int, int".
    
    // The prefix "type " is the type of a type.
    // For example, given
    //	var x int
    //	type T int
    // x's type is "int" but T's type is "type int".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 20.1K bytes
    - Viewed (0)
  3. src/net/http/fs.go

    	if done {
    		return
    	}
    
    	code := StatusOK
    
    	// If Content-Type isn't set, use the file's extension to find it, but
    	// if the Content-Type is unset explicitly, do not sniff the type.
    	ctypes, haveType := w.Header()["Content-Type"]
    	var ctype string
    	if !haveType {
    		ctype = mime.TypeByExtension(filepath.Ext(name))
    		if ctype == "" {
    			// read a chunk to decide between utf-8 text and binary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  4. src/encoding/gob/type.go

    )
    
    // userTypeInfo stores the information associated with a type the user has handed
    // to the package. It's computed once and stored in a map keyed by reflection
    // type.
    type userTypeInfo struct {
    	user        reflect.Type // the type the user handed us
    	base        reflect.Type // the base type after all indirections
    	indir       int          // number of indirections to reach the base type
    	externalEnc int          // xGob, xBinary, or xText
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/meta/help.go

    		if err != nil {
    			return err
    		}
    		if src.Type().AssignableTo(dest.Type()) {
    			dest.Set(src)
    		} else if src.Type().ConvertibleTo(dest.Type()) {
    			dest.Set(src.Convert(dest.Type()))
    		} else {
    			return fmt.Errorf("item[%d]: can't assign or convert %v into %v", i, src.Type(), dest.Type())
    		}
    	}
    	items.Set(slice)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 16:25:43 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueSupplier.java

            static <T> Value<T> ofNullable(@Nullable T value) {
                if (value == null) {
                    return MISSING.asType();
                }
                return new Present<>(value);
            }
    
            static <T> Value<T> missing() {
                return MISSING.asType();
            }
    
            static <T> Value<T> of(T value) {
                if (value == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 20:31:29 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/AnnotationCallInterceptionRequestReaderImpl.java

            Type parameterType = extractType(parameterElement.asType());
            ParameterKindInfo parameterKindInfo = extractParameterKind(parameterElement, isVararg);
    
            if (parameterKindInfo == ParameterKindInfo.VARARG_METHOD_PARAMETER) {
                if (parameterType.getSort() != Type.ARRAY) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:48:42 UTC 2023
    - 13K bytes
    - Viewed (0)
  8. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java

                    return FILE_COLLECTION.asType();
                case DIRECTORY_PROPERTY:
                case REGULAR_FILE_PROPERTY:
                    return Type.getType(File.class);
                case LIST_PROPERTY:
                    return Type.getType(List.class);
                case SET_PROPERTY:
                    return Type.getType(Set.class);
                case MAP_PROPERTY:
                    return Type.getType(Map.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset_test.py

      @test_util.deprecated_graph_mode_only
      def test_replace_tensors_by_numpy_ndarrays_with_tensor_list(self):
        num_samples = 8
        samples = [
            np.random.uniform(low=-1.0, high=1.0, size=(3, 3)).astype('f4')
            for _ in range(num_samples)
        ]
    
        repr_ds: repr_dataset.RepresentativeDataset = [
            {
                'input_tensor': ops.convert_to_tensor(sample),
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 04 07:35:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

        if (auto qtype = mlir::dyn_cast_or_null<UniformQuantizedType>(
                quant::GetUniformQuantizedTypeForBias(
                    quant_params, legacy_float_scale, adjusted_quant_dim))) {
          return quant::UniformQuantizedType::get(
              qtype.getFlags(), qtype.getStorageType(), qtype.getExpressedType(),
              qtype.getScale() * scale, qtype.getZeroPoint(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top