Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 116 for compareIDs (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/time/time.go

    // no monotonic clock reading.
    //
    // The monotonic clock reading exists only in [Time] values. It is not
    // a part of [Duration] values or the Unix times returned by t.Unix and
    // friends.
    //
    // Note that the Go == operator compares not just the time instant but
    // also the [Location] and the monotonic clock reading. See the
    // documentation for the Time type for a discussion of equality
    // testing for Time values.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  5. src/sort/sort_test.go

    					d := &testingData{desc: desc, t: t, data: mdata[0:n], maxswap: maxswap(n)}
    					sort(d)
    					// Uncomment if you are trying to improve the number of compares/swaps.
    					//t.Logf("%s: ncmp=%d, nswp=%d", desc, d.ncmp, d.nswap)
    
    					// If we were testing C qsort, we'd have to make a copy
    					// of the slice and sort it ourselves and then compare
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. src/text/template/doc.go

    	gt
    		Returns the boolean truth of arg1 > arg2
    	ge
    		Returns the boolean truth of arg1 >= arg2
    
    For simpler multi-way equality tests, eq (only) accepts two or more
    arguments and compares the second and subsequent to the first,
    returning in effect
    
    	arg1==arg2 || arg1==arg3 || arg1==arg4 ...
    
    (Unlike with || in Go, however, eq is a function call and all the
    arguments will be evaluated.)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. src/compress/flate/deflate.go

    	// 256 legitimate lengths: those in the range [3, 258]. This package's
    	// compressor uses a higher minimum match length, enabling optimizations
    	// such as finding matches via 32-bit loads and compares.
    	baseMatchLength = 3       // The smallest match length per the RFC section 3.2.5
    	minMatchLength  = 4       // The smallest match length that the compressor actually emits
    	maxMatchLength  = 258     // The largest match length
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

      // same value will be replaced by a single constant operator of that value.
      // Due to this, if the padding values in the input are equal, they will become
      // the same constant operator and the following check (which compares memory
      // addresses) works.
      if (pad_op.getPaddingValue() != parent_pad.getPaddingValue()) {
        return rewriter.notifyMatchFailure(
            pad_op, "parent and child pad have different padding values");
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  9. src/go/printer/printer_test.go

    // lineAt returns the line in text starting at offset offs.
    func lineAt(text []byte, offs int) []byte {
    	i := offs
    	for i < len(text) && text[i] != '\n' {
    		i++
    	}
    	return text[offs:i]
    }
    
    // checkEqual compares a and b.
    func checkEqual(aname, bname string, a, b []byte) error {
    	if bytes.Equal(a, b) {
    		return nil
    	}
    	return errors.New(string(diff.Diff(aname, a, bname, b)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

         *
         * That task writes information about the graph, files and artifacts to a flat file accessible here via {@link #getResultFile()}.
         * This method reads that file (the actual result) and compares it to the expected result - the graph info provided to this fixture via
         * the DSL supplied as an argument.
         *
         * @param closure a closure containing DSL that configures the expected graph
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
Back to top