Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 140 for typeOff (0.98 sec)

  1. src/fmt/print.go

    				p.buf.writeString(nilAngleString)
    			} else {
    				p.buf.writeString(reflect.TypeOf(arg).String())
    				p.buf.writeByte('=')
    				p.printArg(arg, 'v')
    			}
    		}
    		p.buf.writeByte(')')
    	}
    }
    
    func (p *pp) doPrint(a []any) {
    	prevString := false
    	for argNum, arg := range a {
    		isString := arg != nil && reflect.TypeOf(arg).Kind() == reflect.String
    		// Add a space between two non-string arguments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/main/resources/footer.html

        if (!Element.prototype.closest) {
            Element.prototype.closest = function (s) {
                var el = this;
                if (!document.documentElement.contains(el)) return null;
                do {
                    if (typeof el.matches === "function" && el.matches(s)) return el;
                    el = el.parentElement || el.parentNode;
                } while (el !== null);
                return null;
            };
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 09:28:20 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/go/types/api.go

    	FileVersions map[*ast.File]string
    }
    
    func (info *Info) recordTypes() bool {
    	return info.Types != nil
    }
    
    // TypeOf returns the type of expression e, or nil if not found.
    // Precondition: the Types, Uses and Defs maps are populated.
    func (info *Info) TypeOf(e ast.Expr) Type {
    	if t, ok := info.Types[e]; ok {
    		return t.Type
    	}
    	if id, _ := e.(*ast.Ident); id != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. pkg/scheduler/apis/config/validation/validation.go

    		} else if validateFunc, ok := m[name]; ok {
    			// type mismatch, no need to validate the `args`.
    			if reflect.TypeOf(args) != reflect.ValueOf(validateFunc).Type().In(1) {
    				errs = append(errs, field.Invalid(pluginConfigPath.Child("args"), args, "has to match plugin args"))
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

        sparsity =
            GetSparsity(type.getNumElements() - format_converter.GetData().size(),
                        type.getNumElements());
      }
    
      return sparsity;
    }
    
    typedef struct InspectResult {
      // Whether the weight tensor is sparse enough to be compressed.
      bool can_compress;
      // If the weight tensor cannot be encoded in a block configuration that the op
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. pkg/apis/apps/v1beta1/defaults_test.go

    	}
    	obj2, err := runtime.Decode(legacyscheme.Codecs.UniversalDecoder(), data)
    	if err != nil {
    		t.Errorf("%v\nData: %s\nSource: %#v", err, string(data), obj)
    		return nil
    	}
    	obj3 := reflect.New(reflect.TypeOf(obj).Elem()).Interface().(runtime.Object)
    	err = legacyscheme.Scheme.Convert(obj2, obj3, nil)
    	if err != nil {
    		t.Errorf("%v\nSource: %#v", err, obj2)
    		return nil
    	}
    	return obj3
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. pkg/dns/proto/nds.pb.go

    			case 2:
    				return &v.unknownFields
    			default:
    				return nil
    			}
    		}
    	}
    	type x struct{}
    	out := protoimpl.TypeBuilder{
    		File: protoimpl.DescBuilder{
    			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
    			RawDescriptor: file_dns_proto_nds_proto_rawDesc,
    			NumEnums:      0,
    			NumMessages:   3,
    			NumExtensions: 0,
    			NumServices:   0,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/runtime/framework.go

    	var totalPriority int64
    	scorePlugins := reflect.ValueOf(&f.scorePlugins).Elem()
    	pluginType := scorePlugins.Type().Elem()
    	for _, e := range plugins {
    		pg := f.pluginsMap[e.Name]
    		if !reflect.TypeOf(pg).Implements(pluginType) {
    			continue
    		}
    
    		// We append MultiPoint plugins to the list of Score plugins. So if this plugin has already been
    		// encountered, let the individual Score weight take precedence.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    				act.err = fmt.Errorf("failed prerequisites: %s", strings.Join(failed, ", "))
    				return
    			}
    
    			factFilter := make(map[reflect.Type]bool)
    			for _, f := range a.FactTypes {
    				factFilter[reflect.TypeOf(f)] = true
    			}
    
    			pass := &analysis.Pass{
    				Analyzer:          a,
    				Fset:              fset,
    				Files:             files,
    				OtherFiles:        cfg.NonGoFiles,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. internal/logger/logger.go

    			return
    		}
    	}
    	logIf(ctx, subsystem, err)
    }
    
    func errToEntry(ctx context.Context, subsystem string, err error, errKind ...interface{}) log.Entry {
    	var l string
    	if anonFlag {
    		l = reflect.TypeOf(err).String()
    	} else {
    		l = fmt.Sprintf("%v (%T)", err, err)
    	}
    	return buildLogEntry(ctx, subsystem, l, getTrace(3), errKind...)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top