Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 126 for compareIDs (0.8 sec)

  1. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    // attempt to infer their values.
    // TODO: consider removing
    func (t Tag) Raw() (b Language, s Script, r Region) {
    	return t.LangID, t.ScriptID, t.RegionID
    }
    
    // equalTags compares language, script and region subtags only.
    func (t Tag) equalTags(a Tag) bool {
    	return t.LangID == a.LangID && t.ScriptID == a.ScriptID && t.RegionID == a.RegionID
    }
    
    // IsRoot returns true if t is equal to language "und".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/math/big/int.go

    	}
    	z.QuoRem(x, y, m)
    	if m.neg {
    		if y0.neg {
    			z.Add(z, intOne)
    			m.Sub(m, y0)
    		} else {
    			z.Sub(z, intOne)
    			m.Add(m, y0)
    		}
    	}
    	return z, m
    }
    
    // Cmp compares x and y and returns:
    //
    //	-1 if x <  y
    //	 0 if x == y
    //	+1 if x >  y
    func (x *Int) Cmp(y *Int) (r int) {
    	// x cmp y == x cmp y
    	// x cmp (-y) == x
    	// (-x) cmp y == y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. 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)
  10. docs/fr/docs/async.md

    Ce "attendre quelque chose d'autre" fait généralement référence à des opérations <abbr title="Input/Output ou Entrées et Sorties ">I/O</abbr> qui sont relativement "lentes" (comparées à la vitesse du processeur et de la mémoire RAM) telles qu'attendre que :
    
    * de la donnée soit envoyée par le client à travers le réseau
    * de la donnée envoyée depuis votre programme soit reçue par le client à travers le réseau
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 31 23:52:53 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top