Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,149 for into (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *     inserting the element at `insertionPoint` will retain sorted order.
     */
    inline fun binarySearch(
      position: Int,
      limit: Int,
      compare: (Int) -> Int,
    ): Int {
      // Do the binary searching bit.
      var low = position
      var high = limit - 1
      while (low <= high) {
        val mid = (low + high) / 2
        val compareResult = compare(mid)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/Escaper.java

    /**
     * An object that converts literal text into a format safe for inclusion in a particular context
     * (such as an XML document). Typically (but not always), the inverse process of "unescaping" the
     * text is performed automatically by the relevant parser.
     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

    public final class CharEscaperBuilder {
      /**
       * Simple decorator that turns an array of replacement char[]s into a CharEscaper, this results in
       * a very fast escape method.
       */
      private static class CharArrayDecorator extends CharEscaper {
        private final char[] @Nullable [] replacements;
        private final int replaceLength;
    
        CharArrayDecorator(char[] @Nullable [] replacements) {
          this.replacements = replacements;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. misc/cgo/gmp/gmp.go

    func (z *Int) Mod(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    	z.doinit()
    	C.mpz_tdiv_r(&z.i[0], &x.i[0], &y.i[0])
    	return z
    }
    
    // Lsh sets z = x << s and returns z.
    func (z *Int) Lsh(x *Int, s uint) *Int {
    	x.doinit()
    	z.doinit()
    	C._mpz_mul_2exp(&z.i[0], &x.i[0], C.ulong(s))
    	return z
    }
    
    // Rsh sets z = x >> s and returns z.
    func (z *Int) Rsh(x *Int, s uint) *Int {
    	x.doinit()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  5. src/archive/tar/strconv.go

    func (*parser) parseString(b []byte) string {
    	if i := bytes.IndexByte(b, 0); i >= 0 {
    		return string(b[:i])
    	}
    	return string(b)
    }
    
    // formatString copies s into b, NUL-terminating if possible.
    func (f *formatter) formatString(b []byte, s string) {
    	if len(s) > len(b) {
    		f.err = ErrFieldTooLong
    	}
    	copy(b, s)
    	if len(s) < len(b) {
    		b[len(s)] = 0
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        @Override
        public void funnel(Long value, PrimitiveSink into) {
          into.putLong(value);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return (object instanceof CustomFunnel);
        }
    
        @Override
        public int hashCode() {
          return 42;
        }
      }
    
      public void testPutReturnValue() {
        for (int i = 0; i < 10; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  7. internal/pubsub/mask.go

    }
    
    // FromUint64 will set a mask to the uint64 value.
    func (t *Mask) FromUint64(m uint64) {
    	*t = Mask(m)
    }
    
    // Merge will merge other into t.
    func (t *Mask) Merge(other Mask) {
    	*t |= other
    }
    
    // MergeMaskable will merge other into t.
    func (t *Mask) MergeMaskable(other Maskable) {
    	*t |= Mask(other.Mask())
    }
    
    // SetIf will add other if b is true.
    func (t *Mask) SetIf(b bool, other Mask) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheTesting.java

        LocalCache<?, ?> cchm = toLocalCache(cache);
        int size = 0;
        for (Segment<?, ?> segment : cchm.segments) {
          size += accessQueueSize(segment);
        }
        return size;
      }
    
      static int accessQueueSize(Segment<?, ?> segment) {
        return segment.accessQueue.size();
      }
    
      static int expirationQueueSize(Cache<?, ?> cache) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    things you should know about contributing:
    
    1.  API changes require discussion, use cases, etc. Code comes later.
    2.  Pull requests are great for small fixes for bugs, documentation, etc.
    3.  Pull requests are not merged directly into the master branch.
    4.  Code contributions require signing a Google CLA.
    
    API changes
    -----------
    
    We make changes to Guava's public [APIs][], including adding new APIs, very
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathTransformation.java

    import org.apache.maven.artifact.ArtifactScopeEnum;
    
    /**
     * Helper class to convert a metadata Graph into some form of a classpath
     *
     *
     */
    @Deprecated
    public interface ClasspathTransformation {
        String ROLE = ClasspathTransformation.class.getName();
    
        /**
         * Transform Graph into a Collection of metadata objects that
         * could serve as a classpath for a particular scope
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top