Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 113 for compareIDs (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/cc/tools/freeze_saved_model_test.cc

                                          saved_model_bundle);
        return AddGraphDefToSavedModelBundle(graph_def, init_node,
                                             saved_model_bundle);
      }
    
      // Runs and compares the outputs of `tensor_name` on both the
      // `unfrozen_session` and the `frozen_graph_def.
      void RunAndCompareFrozenAndUnfrozenGraphs(Session* unfrozen_session,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 13:30:31 UTC 2022
    - 21.7K bytes
    - Viewed (0)
  8. 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)
  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. android/guava/src/com/google/common/collect/Multimap.java

       * nor do its entries support {@link Entry#setValue setValue}.
       */
      Map<K, Collection<V>> asMap();
    
      // Comparison and hashing
    
      /**
       * Compares the specified object with this multimap for equality. Two multimaps are equal when
       * their map views, as returned by {@link #asMap}, are also equal.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 15.1K bytes
    - Viewed (0)
Back to top