Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 147 for typeA (0.48 sec)

  1. src/internal/fmtsort/sort_test.go

    }
    
    // sprintKey formats a reflect.Value but gives reproducible values for some
    // problematic types such as pointers. Note that it only does special handling
    // for the troublesome types used in the test cases; it is not a general
    // printer.
    func sprintKey(key reflect.Value) string {
    	switch str := key.Type().String(); str {
    	case "*int":
    		ptr := key.Interface().(*int)
    		for i := range ints {
    			if ptr == &ints[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc

    #include "tensorflow/c/experimental/ops/gen/common/view_util.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    string AttrView::VariableName() const { return attr_.name(); }
    
    string AttrView::VariableType() const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go

    	kubeletConfigTyped, ok := kubeletConfig.(*kubeletconfig.KubeletConfiguration)
    	if !ok {
    		return errors.New("could not convert the KubeletConfiguration to a typed object")
    	}
    	if err := waiter.WaitForKubelet(kubeletConfigTyped.HealthzBindAddress, *kubeletConfigTyped.HealthzPort); err != nil {
    		return handleError(err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    			return // invalid type
    		}
    
    		var V0 types.Type // integral type in the type set of V
    
    		for _, vt := range vtypes {
    			u, _ := vt.Underlying().(*types.Basic)
    			if u != nil && u.Info()&types.IsInteger != 0 {
    				switch u.Kind() {
    				case types.Byte, types.Rune, types.UntypedRune:
    					continue
    				}
    				V0 = vt
    				break
    			}
    		}
    
    		if V0 == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. pkg/kubelet/util/queue/work_queue_test.go

    	q.Enqueue(types.UID("foo1"), -1*time.Minute)
    	q.Enqueue(types.UID("foo2"), -1*time.Minute)
    	q.Enqueue(types.UID("foo3"), 1*time.Minute)
    	q.Enqueue(types.UID("foo4"), 1*time.Minute)
    	expected := []types.UID{types.UID("foo1"), types.UID("foo2")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    	// Dial the time to 1 hour ahead.
    	clock.Step(time.Hour)
    	expected = []types.UID{types.UID("foo3"), types.UID("foo4")}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10FlexibleType.kt

    import org.jetbrains.kotlin.analysis.api.types.KaFlexibleType
    import org.jetbrains.kotlin.analysis.api.types.KaType
    import org.jetbrains.kotlin.analysis.api.types.KaTypeNullability
    import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
    import org.jetbrains.kotlin.analysis.api.types.KaUsualClassType
    import org.jetbrains.kotlin.types.FlexibleType
    
    internal class KaFe10FlexibleType(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/go/types/example_test.go

    	fset := token.NewFileSet()
    	f := mustParse(fset, input)
    
    	// Type-check the package.
    	// We create an empty map for each kind of input
    	// we're interested in, and Check populates them.
    	info := types.Info{
    		Types: make(map[ast.Expr]types.TypeAndValue),
    		Defs:  make(map[*ast.Ident]types.Object),
    		Uses:  make(map[*ast.Ident]types.Object),
    	}
    	var conf types.Config
    	pkg, err := conf.Check("fib", fset, []*ast.File{f}, &info)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/KtTypeProjection.kt

     */
    
    package org.jetbrains.kotlin.analysis.api
    
    import org.jetbrains.kotlin.analysis.api.types.KaStarTypeProjection
    import org.jetbrains.kotlin.analysis.api.types.KaTypeArgumentWithVariance
    import org.jetbrains.kotlin.analysis.api.types.KaTypeProjection
    
    @Deprecated(
        "The API has been moved into `org.jetbrains.kotlin.analysis.api.types` package",
        level = DeprecationLevel.HIDDEN,
    )
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. cmd/metrics-realtime.go

    		m.Aggregated.Scanner = &metrics
    	}
    	if types.Contains(madmin.MetricsOS) {
    		metrics := globalOSMetrics.report()
    		m.Aggregated.OS = &metrics
    	}
    	if types.Contains(madmin.MetricsBatchJobs) {
    		m.Aggregated.BatchJobs = globalBatchJobsMetrics.report(opts.jobID)
    	}
    	if types.Contains(madmin.MetricsSiteResync) {
    		m.Aggregated.SiteResync = globalSiteResyncMetrics.report(opts.depID)
    	}
    	if types.Contains(madmin.MetricNet) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/versions/types_go122.go

    package versions
    
    import (
    	"go/ast"
    	"go/types"
    )
    
    // FileVersion returns a file's Go version.
    // The reported version is an unknown Future version if a
    // version cannot be determined.
    func FileVersion(info *types.Info, file *ast.File) string {
    	// In tools built with Go >= 1.22, the Go version of a file
    	// follow a cascades of sources:
    	// 1) types.Info.FileVersion, which follows the cascade:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top