Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 546 for putint (0.14 sec)

  1. android/guava/src/com/google/common/hash/PrimitiveSink.java

      /** Puts a short into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putShort(short s);
    
      /** Puts an int into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putInt(int i);
    
      /** Puts a long into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putLong(long l);
    
      /** Puts a float into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putFloat(float f);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKey.kt

                        putString(relativeSubDir)
                    }
                }
            }
        }
    
        private
        fun Hasher.putAll(list: Collection<String>) {
            putInt(list.size)
            list.forEach(::putString)
        }
    
        /**
         * Returns the path of [target] relative to [base] if
         * [target] is a child of [base] or `null` otherwise.
         */
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/PrimitiveSink.java

      /** Puts a short into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putShort(short s);
    
      /** Puts an int into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putInt(int i);
    
      /** Puts a long into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putLong(long l);
    
      /** Puts a float into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putFloat(float f);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          buffer.order(ByteOrder.LITTLE_ENDIAN);
          while (buffer.remaining() >= 4) {
            putInt(buffer.getInt());
          }
          while (buffer.hasRemaining()) {
            putByte(buffer.get());
          }
          buffer.order(bo);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Hasher putInt(int i) {
          update(4, i);
          return this;
        }
    
        @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashTestUtils.java

            for (PrimitiveSink sink : sinks) {
              sink.putChar(value);
            }
          }
        },
        PUT_INT() {
          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            int value = random.nextInt();
            for (PrimitiveSink sink : sinks) {
              sink.putInt(value);
            }
          }
        },
        PUT_LONG() {
          @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Funnels.java

        return IntegerFunnel.INSTANCE;
      }
    
      private enum IntegerFunnel implements Funnel<Integer> {
        INSTANCE;
    
        @Override
        public void funnel(Integer from, PrimitiveSink into) {
          into.putInt(from);
        }
    
        @Override
        public String toString() {
          return "Funnels.integerFunnel()";
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/Funnels.java

        return IntegerFunnel.INSTANCE;
      }
    
      private enum IntegerFunnel implements Funnel<Integer> {
        INSTANCE;
    
        @Override
        public void funnel(Integer from, PrimitiveSink into) {
          into.putInt(from);
        }
    
        @Override
        public String toString() {
          return "Funnels.integerFunnel()";
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt

        hash()
    }
    
    
    private
    fun Hasher.putAllSorted(strings: List<String>) {
        putInt(strings.size)
        strings.sorted().forEach(::putString)
    }
    
    
    private
    fun Hasher.putAll(entries: List<ProjectSchemaEntry<SchemaType>>) {
        putInt(entries.size)
        entries.forEach { entry ->
            putString(entry.target.kotlinString)
            putString(entry.name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 22K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            then:
            cachedClasspath.asFiles == [cachedFile]
    
            and:
            1 * transform.applyConfigurationTo(_) >> { Hasher hasher -> hasher.putInt(123) }
            1 * transform.apply(_, _, _) >> { entry, visitor, data ->
                assert entry.name == "a.class"
                Pair.of(entry.path, visitor)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        assertEquals(
            "9753980fe94daa8ecaa82216519393a9",
            hasher.putString("The quick brown fox jumps over the lazy dog", UTF_8).hash().toString());
        assertThrows(IllegalStateException.class, () -> hasher.putInt(42));
      }
    
      public void testHashTwice() {
        Hasher hasher = Hashing.hmacMd5(MD5_KEY).newHasher();
    
        assertEquals(
            "9753980fe94daa8ecaa82216519393a9",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
Back to top