Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 71 for compareIDs (0.31 sec)

  1. src/go/types/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
    - 14.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. 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/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)
  8. 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)
  9. 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)
  10. src/slices/slices.go

    	if len(s1) != len(s2) {
    		return false
    	}
    	for i, v1 := range s1 {
    		v2 := s2[i]
    		if !eq(v1, v2) {
    			return false
    		}
    	}
    	return true
    }
    
    // Compare compares the elements of s1 and s2, using [cmp.Compare] on each pair
    // of elements. The elements are compared sequentially, starting at index 0,
    // until one element is not equal to the other.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top