Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 474 for Identical (0.11 sec)

  1. src/cmd/compile/internal/types2/named_test.go

    	}
    
    	Inst := Unalias(pkg.Scope().Lookup("Inst").Type()).(*Pointer).Elem().(*Named)
    	Node := firstFieldType(Inst)
    	Tree := firstFieldType(Node)
    	if !Identical(Inst, Tree) {
    		t.Fatalf("Not a cycle: got %v, want %v", Tree, Inst)
    	}
    	if Inst != Tree {
    		t.Errorf("Duplicate instances in cycle: %s (%p) -> %s (%p) -> %s (%p)", Inst, Inst, Node, Node, Tree, Tree)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 21:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. test/codegen/stack.go

    	for i := 0; i < 2; i++ {
    		defer func() {}()
    	}
    	// amd64:`CALL\truntime\.deferprocStack`
    	defer func() {}()
    }
    
    // Check that stack slots are shared among values of the same
    // type, but not pointer-identical types. See issue 65783.
    
    func spillSlotReuse() {
    	// The return values of getp1 and getp2 need to be
    	// spilled around the calls to nopInt. Make sure that
    	// spill slot gets reused.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. pilot/pkg/config/monitor/file_snapshot.go

    		}
    		return nil
    	})
    	if err != nil {
    		log.Warnf("failure during filepath.Walk: %v", err)
    	}
    
    	// Sort by the config IDs.
    	sort.Sort(byKey(result))
    	return result, err
    }
    
    // parseInputs is identical to crd.ParseInputs, except that it returns an array of config pointers.
    func parseInputs(data []byte, domainSuffix string) ([]*config.Config, error) {
    	configs, _, err := crd.ParseInputs(string(data))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. pilot/pkg/xds/cds.go

    	if req == nil {
    		return true
    	}
    	switch proxy.Type {
    	case model.Waypoint:
    		if model.HasConfigsOfKind(req.ConfigsUpdated, kind.Address) {
    			// TODO: this logic is identical to that used in LDS, consider refactor into a common function
    			// taken directly from LDS... waypoints need CDS updates on kind.Address changes
    			// after implementing use-waypoint which decouples waypoint creation, wl pod creation
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 21:27:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/go/types/named.go

    // corresponding object, and that object's type is the (possibly generic) Named
    // type. Declared Named types are identical if and only if their pointers are
    // identical. On the other hand, multiple instantiated Named types may be
    // identical even though their pointers are not identical. One has to use
    // Identical to compare them. For instantiated named types, their obj is a
    // synthetic placeholder that records their position of the corresponding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. api/openapi-spec/v3/apis__resource.k8s.io__v1alpha2_openapi.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 656.6K bytes
    - Viewed (0)
  7. pkg/kube/kclient/clienttest/test_helpers.go

    		TestWriter: TestWriter[T]{
    			c: c,
    			t: t,
    		},
    	}
    }
    
    // Wrap returns a client that calls t.Fatal on errors.
    // Reads may be cached or uncached, depending on the input client.
    // Note: this is identical to WrapReadWriter but works around Go limitations, allowing calling w/o specifying
    // generic parameters in the common case.
    func Wrap[T controllers.Object](t test.Failer, c kclient.Client[T]) TestClient[T] {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/Graphs.java

       */
      public static <N> Graph<N> transpose(Graph<N> graph) {
        if (!graph.isDirected()) {
          return graph; // the transpose of an undirected graph is an identical graph
        }
    
        if (graph instanceof TransposedGraph) {
          return ((TransposedGraph<N>) graph).graph;
        }
    
        return new TransposedGraph<>(graph);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unusedresult/unusedresult.go

    		if !ok {
    			return // e.g. var or builtin
    		}
    		if sig := fn.Type().(*types.Signature); sig.Recv() != nil {
    			// method (e.g. foo.String())
    			if types.Identical(sig, sigNoArgsStringResult) {
    				if stringMethods[fn.Name()] {
    					pass.Reportf(call.Lparen, "result of (%s).%s call not used",
    						sig.Recv().Type(), fn.Name())
    				}
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/language/doc.go

    // the confidence scores more accurate and allows matchers to distinguish
    // between variants that are otherwise lost.
    //
    // As a consequence, two tags that should be treated as identical according to
    // BCP 47 or CLDR, like "en-Latn" and "en", will be represented differently. The
    // Matcher handles such distinctions, though, and is aware of the
    // equivalence relations. The CanonType type can be used to alter the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top