Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 1,201 for integers (0.05 sec)

  1. guava-tests/test/com/google/common/escape/EscapersTest.java

          protected char[] escape(char c) {
            return replacementMap.get(c);
          }
        };
      }
    
      // A trivial non-optimized escaper for testing.
      static UnicodeEscaper createSimpleUnicodeEscaper(ImmutableMap<Integer, char[]> replacementMap) {
        return new UnicodeEscaper() {
          @Override
          protected char[] escape(int cp) {
            return replacementMap.get(cp);
          }
        };
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Striped.java

        SmallLazyStriped(int stripes, Supplier<L> supplier) {
          super(stripes);
          this.size = (mask == ALL_SET) ? Integer.MAX_VALUE : mask + 1;
          this.locks = new AtomicReferenceArray<>(size);
          this.supplier = supplier;
        }
    
        @Override
        public L getAt(int index) {
          if (size != Integer.MAX_VALUE) {
            Preconditions.checkElementIndex(index, size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SingletonImmutableMapWithUnhashableValueMapInterfaceTest.java

    @NullUnmarked
    public class SingletonImmutableMapWithUnhashableValueMapInterfaceTest
        extends RegularImmutableMapWithUnhashableValuesMapInterfaceTest {
      @Override
      protected Map<Integer, UnhashableObject> makePopulatedMap() {
        Unhashables unhashables = new Unhashables();
        return ImmutableMap.of(0, unhashables.e0());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

                    doc.put(ID_FIELD, Integer.toString(mainSize - i - 1));
                    doc.put("score", 1.0f / (i + 2));
                    builder.addDocument(doc);
                }
                for (int i = 100; i < inSize + 100; i++) {
                    Map<String, Object> doc = new HashMap<>();
                    doc.put(ID_FIELD, Integer.toString(i));
                    doc.put("score", 1.0f / (mainSize + i + 2));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putInt(Integer.MAX_VALUE);
                buffer.putInt(Integer.MAX_VALUE);
                byte[] bufferArray = buffer.array();
    
                // When
                int bytesConsumed = fileFsSizeInfo.decode(bufferArray, 0, bufferArray.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            assertEquals(Integer.toString("test query".hashCode()), result);
        }
    
        public void test_processGsaSearchPreference_queryPref() {
            String result = queryHelper.processGsaSearchPreference(null, "test query");
            // This will return the hashCode of the query as string
            assertEquals(Integer.toString("test query".hashCode()), result);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/labeltype/EditForm.java

         * This field is required to prevent concurrent modification conflicts
         * by ensuring the label type hasn't been modified by another process.
         */
        @Required
        @ValidateTypeFailure
        public Integer versionNo;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/role/EditForm.java

         * This field is required to prevent concurrent modification conflicts
         * by ensuring the role hasn't been modified by another process.
         */
        @Required
        @ValidateTypeFailure
        public Integer versionNo;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Defaults.java

          } else if (type == byte.class) {
            return (T) Byte.valueOf((byte) 0);
          } else if (type == short.class) {
            return (T) Short.valueOf((short) 0);
          } else if (type == int.class) {
            return (T) Integer.valueOf(0);
          } else if (type == long.class) {
            return (T) Long.valueOf(0L);
          } else if (type == float.class) {
            return (T) FLOAT_DEFAULT;
          } else if (type == double.class) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

            assertTrue(result.contains("dataCompactionMode=1"));
            assertTrue(result.contains("dataLength=1024"));
            assertTrue(result.contains("dataOffset=54"));
        }
    
        // Helper method to write a 2-byte integer to a byte array
        private void writeInt2(int val, byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dst[dstIndex + 1] = (byte) (val >> 8);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top