Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 621 for isInput (0.91 sec)

  1. guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      public void testHashIntReverseBytesVsHashBytesIntsToByteArray() {
        int input = 42;
        assertEquals(
            Hashing.md5().hashBytes(Ints.toByteArray(input)),
            Hashing.md5().hashInt(Integer.reverseBytes(input)));
      }
    
      public void testHashIntVsForLoop() {
        int input = 42;
        HashCode expected = Hashing.md5().hashInt(input);
    
        Hasher hasher = Hashing.md5().newHasher();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  2. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

      private static final Predicate<@Nullable String> NOT_LENGTH_3 =
          input -> input == null || input.length() != 3;
      private static final Predicate<@Nullable Integer> EVEN = input -> input == null || input % 2 == 0;
      static final Predicate<Entry<String, Integer>> CORRECT_LENGTH =
          input -> input.getKey().length() == input.getValue();
    
      abstract Map<String, Integer> createUnfiltered();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

         * @return the current column number
         */
        int getColumnNumber();
    
        /**
         * Return the byte or character offset into the input source this location
         * is pointing to. If the input source is a file or a byte stream then
         * this is the byte offset into that stream, but if the input source is
         * a character media then the offset is the character offset.
         * Returns -1 if there is no offset available.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

         */
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 255, -1, 256, 65535 })
        void constructorMasksValue(int input) {
            NdrShort ns = new NdrShort(input);
            // NdrShort masks to 0xFF (8 bits) in its constructor
            int expected = input & 0xFF;
            assertEquals(expected, ns.value, "value should be masked to 0xFF before storing");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

      @Override
      public boolean readBoolean() throws IOException {
        return readUnsignedByte() != 0;
      }
    
      /**
       * Reads a byte from the input stream checking that the end of file (EOF) has not been
       * encountered.
       *
       * @return byte read from input
       * @throws IOException if an error is encountered while reading
       * @throws EOFException if the end of file (EOF) is encountered.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java

        /**
         * Apply a transformation on the file model.
         *
         * This method will be called on each file model being loaded,
         * just before validation.
         *
         * @param model the input model
         * @return the transformed model, or the input model if no transformation is needed
         * @throws ModelTransformerException
         */
        @Nonnull
        default Model transformFileModel(@Nonnull Model model) throws ModelTransformerException {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        }
    
        /**
         * Reads up to b.length bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public int read(final byte[] b) throws IOException {
            return read(b, 0, b.length);
        }
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TableCollectors.java

         * requires some work.
         */
    
        return Collector.of(
            ImmutableTableCollectorState<R, C, V>::new,
            (state, input) ->
                state.put(
                    rowFunction.apply(input),
                    columnFunction.apply(input),
                    valueFunction.apply(input),
                    mergeFunction),
            (s1, s2) -> s1.combine(s2, mergeFunction),
            state -> state.toTable());
      }
    
      static <
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/labeltype/CreateForm.java

         */
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String includedPaths;
    
        /**
         * The paths to exclude for this label type.
         */
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String excludedPaths;
    
        /**
         * The permissions required to view this label type.
         */
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String permissions;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/MathPreconditions.java

        }
      }
    
      static void checkInRangeForRoundingInputs(boolean condition, double input, RoundingMode mode) {
        if (!condition) {
          throw new ArithmeticException(
              "rounded value is out of range for input " + input + " and rounding mode " + mode);
        }
      }
    
      static void checkNoOverflow(boolean condition, String methodName, int a, int b) {
        if (!condition) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top