Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 76 for compareIDs (0.16 sec)

  1. pilot/pkg/model/config.go

    		i := strings.Index(gwname, "/")
    		if gwname[:i] == "." {
    			out = meta.Namespace + "/" + gwname[i+1:]
    		}
    	}
    	return out
    }
    
    // MostSpecificHostMatch compares the maps of specific and wildcard hosts to the needle, and returns the longest element
    // matching the needle and it's value, or false if no element in the maps matches the needle.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 08:51:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status.go

    			ip = v.IP
    		}
    		if ip != nil && ip.Equal(nodeIP) {
    			return nil
    		}
    	}
    	return fmt.Errorf("node IP: %q not found in the host's network interfaces", nodeIP.String())
    }
    
    // nodeStatusHasChanged compares the original node and current node's status and
    // returns true if any change happens. The heartbeat timestamp is ignored.
    func nodeStatusHasChanged(originalStatus *v1.NodeStatus, status *v1.NodeStatus) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/staticpod/utils.go

    			if err == nil {
    				port = p
    			}
    		}
    		return hostname, int32(port), scheme
    	}
    	return localhost, kubeadmconstants.EtcdMetricsPort, v1.URISchemeHTTP
    }
    
    // ManifestFilesAreEqual compares 2 files. It returns true if their contents are equal, false otherwise
    func ManifestFilesAreEqual(path1, path2 string) (bool, string, error) {
    	pod1, err := ReadStaticPodFromDisk(path1)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check_test.go

    		return fmt.Errorf("flags comment line too long")
    	}
    
    	return flags.Parse(strings.Fields(string(src[:end])))
    }
    
    // testFiles type-checks the package consisting of the given files, and
    // compares the resulting errors with the ERROR annotations in the source.
    // Except for manual tests, each package is type-checked twice, once without
    // use of Alias types, and once with Alias types.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/controlplane/manifests.go

    					strings.Join(defaultMode, ","),
    					strings.Join(mode, ","),
    				)
    			}
    			return strings.Join(mode, ",")
    		}
    	}
    	return strings.Join(defaultMode, ",")
    }
    
    // compareAuthzModes compares two given authz modes and returns false if they do not match
    func compareAuthzModes(a, b []string) bool {
    	if len(a) != len(b) {
    		return false
    	}
    	for i, m := range a {
    		if m != b[i] {
    			return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

      let assemblyFormat = "$arg attr-dict `->` type($out)";
    }
    
    def TFR_EqualOp : TFR_Op<"equal", [Pure, SameTypeOperands]> {
      let description = [{
        The `equal` operation compares the values of the tfr.attr type arguments.
        The operation returns an i1 boolean indicating if the two values are the
        same.
        Example:
    
        ```mlir
        %x = tfr.equal %lhs, %rhs -> i1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

      }
    
      /**
       * Private replacement for {@link com.google.gwt.user.client.rpc.GwtTransient} to work around
       * build-system quirks.
       */
      private @interface GwtTransient {}
    
      /**
       * Compares strings in natural order except that null comes immediately before a given value. This
       * works better than Ordering.natural().nullsFirst() because, if null comes before all other
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. src/runtime/mspanset.go

    	u atomic.Uint64
    }
    
    // load atomically reads a headTailIndex value.
    func (h *atomicHeadTailIndex) load() headTailIndex {
    	return headTailIndex(h.u.Load())
    }
    
    // cas atomically compares-and-swaps a headTailIndex value.
    func (h *atomicHeadTailIndex) cas(old, new headTailIndex) bool {
    	return h.u.CompareAndSwap(uint64(old), uint64(new))
    }
    
    // incHead atomically increments the head of a headTailIndex.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/Helpers.java

      }
    
      /**
       * Private replacement for {@link com.google.gwt.user.client.rpc.GwtTransient} to work around
       * build-system quirks.
       */
      private @interface GwtTransient {}
    
      /**
       * Compares strings in natural order except that null comes immediately before a given value. This
       * works better than Ordering.natural().nullsFirst() because, if null comes before all other
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. src/go/types/generate_test.go

    	dstDir = "/src/go/types/"
    )
    
    // TestGenerate verifies that generated files in go/types match their types2
    // counterpart. If -write is set, this test actually writes the expected
    // content to go/types; otherwise, it just compares with the existing content.
    func TestGenerate(t *testing.T) {
    	// If filesToWrite is set, write the generated content to disk.
    	// In the special case of "all", write all files in filemap.
    	write := *filesToWrite != ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top