Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1581 - 1590 of 4,560 for long (0.02 seconds)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        assertThat(UnsignedBytes.saturatedCast(-1L)).isEqualTo(LEAST);
        assertThat(UnsignedBytes.saturatedCast(Long.MAX_VALUE)).isEqualTo(GREATEST);
        assertThat(UnsignedBytes.saturatedCast(Long.MIN_VALUE)).isEqualTo(LEAST);
      }
    
      private static void assertCastFails(long value) {
        try {
          UnsignedBytes.checkedCast(value);
          fail("Cast to byte should have failed: " + value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/service/GroupService.java

         */
        protected void setupListCondition(final GroupCB cb, final GroupPager groupPager) {
            if (groupPager.id != null) {
                cb.query().docMeta().setId_Equal(groupPager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_Name_Asc();
    
            // search
    
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

      }
    
      /**
       * @param delta the offset from the current date to use. Negative values yield dates in the past;
       *     positive values yield dates in the future.
       */
      private fun formatDate(
        delta: Long,
        timeUnit: TimeUnit,
      ): String? = formatDate(Date(System.currentTimeMillis() + timeUnit.toMillis(delta)))
    
      private fun formatDate(date: Date): String? {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/pac/PacUnicodeStringTest.java

            // Length is 10 bytes, so expected string length is 5 characters
            PacUnicodeString pacString = new PacUnicodeString((short) 10, (short) 20, 100);
            String testString = "too-long"; // Length is 8
    
            // Expect a PACDecodingException to be thrown
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> {
                pacString.check(testString);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

        /**
         * Test setParam method updates the write parameters
         */
        @Test
        public void testSetParam() {
            // Arrange
            SmbComWrite write = new SmbComWrite();
            int fid = 0x5678;
            long offset = 200L;
            int remaining = 75;
            byte[] buffer = new byte[50];
            int off = 5;
            int len = 25;
    
            // Act
            write.setParam(fid, offset, remaining, buffer, off, len);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

          this.domain = domain;
        }
    
        private Object readResolve() {
          return new EmptyContiguousSet<>(domain);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        @Override
      Object writeReplace() {
        return new SerializedForm<>(domain);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

       * Compute arrays of valid unicode text, and store it in 3 forms: byte arrays, Strings, and
       * StringBuilders (in a CharSequence[] to make it a little harder for the JVM).
       */
      @BeforeExperiment
      void setUp() {
        long seed = 99;
        Random rnd = new Random(seed);
        strings = new String[SAMPLES];
        for (int i = 0; i < SAMPLES; i++) {
          StringBuilder sb = new StringBuilder();
          for (int j = 0; j < charCount; j++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/AbstractListMultimap.java

       */
      @Override
      public boolean equals(@Nullable Object object) {
        return super.equals(object);
      }
    
      @GwtIncompatible @J2ktIncompatible   private static final long serialVersionUID = 6588350623831699109L;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      private static final BigDecimal MIN_INT_AS_BIG_DECIMAL = BigDecimal.valueOf(Integer.MIN_VALUE);
    
      private static final BigDecimal MAX_LONG_AS_BIG_DECIMAL = BigDecimal.valueOf(Long.MAX_VALUE);
      private static final BigDecimal MIN_LONG_AS_BIG_DECIMAL = BigDecimal.valueOf(Long.MIN_VALUE);
    
      public void testConstantsMaxFactorial() {
        BigInteger maxDoubleValue = BigDecimal.valueOf(Double.MAX_VALUE).toBigInteger();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java

            String[][] readings = { { "test" } };
    
            SuggestItem item =
                    new SuggestItem(text, readings, null, Long.MAX_VALUE, Long.MAX_VALUE, 1.0f, null, null, null, SuggestItem.Kind.QUERY);
    
            assertEquals(Long.MAX_VALUE, item.getDocFreq());
            assertEquals(Long.MAX_VALUE, item.getQueryFreq());
        }
    
        @Test
        public void test_negativeFrequencies() {
            String[] text = { "test" };
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Jan 17 05:10:37 GMT 2026
    - 22.2K bytes
    - Click Count (0)
Back to Top