Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1591 - 1600 of 1,983 for Long (0.04 sec)

  1. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            PropertiesUtil.load(properties, url);
        }
    
        private static class IOExceptionOccurProperties extends Properties {
    
            /**
             *
             */
            private static final long serialVersionUID = 1L;
    
            @Override
            public synchronized void load(final InputStream inStream) throws IOException {
                throw new IOException("load");
            }
    
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/IntMathTest.java

    @NullUnmarked
    public class IntMathTest extends TestCase {
      public void testMaxSignedPowerOfTwo() {
        assertTrue(IntMath.isPowerOfTwo(IntMath.MAX_SIGNED_POWER_OF_TWO));
    
        // Extra work required to make GWT happy.
        long value = IntMath.MAX_SIGNED_POWER_OF_TWO * 2L;
        assertFalse(IntMath.isPowerOfTwo((int) value));
      }
    
      public void testCeilingPowerOfTwo() {
        for (int x : POSITIVE_INTEGER_CANDIDATES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

      }
    
      public void testAddAllPrimitiveLongStream() {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(megaPrimitiveDoubleStreamPart1().mapToLong(x -> (long) x));
        accumulator.addAll(megaPrimitiveDoubleStreamPart2().mapToLong(x -> (long) x));
        assertThat(accumulator.count()).isEqualTo(MEGA_STREAM_COUNT);
        assertThat(accumulator.mean()).isWithin(ALLOWED_ERROR * MEGA_STREAM_COUNT).of(MEGA_STREAM_MEAN);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

         * @param currentTime the current time
         * @return optional label type entity
         */
        public static OptionalEntity<LabelType> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new LabelType()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

            return SYNONYM;
        }
    
        @Override
        public String getPath() {
            return path;
        }
    
        @Override
        public synchronized OptionalEntity<SynonymItem> get(final long id) {
            if (synonymItemList == null) {
                reload(null);
            }
    
            for (final SynonymItem synonymItem : synonymItemList) {
                if (id == synonymItem.getId()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

          for (Entry<Range<K>, V> entry : mapOfRanges.entrySet()) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
    
        @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      Object writeReplace() {
        return new SerializedForm<>(asMapOfRanges());
      }
    
      @J2ktIncompatible // java.io.ObjectInputStream
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            assertEquals(mixedCaseUser, type3.getUser());
        }
    
        @Test
        @DisplayName("Should handle long passwords")
        void testLongPasswords() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
            String longPassword = createTestString(256); // Very long password
    
            // When/Then
            assertDoesNotThrow(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        }
    
        @ParameterizedTest
        @ValueSource(longs = { 0L, -1L, -10L })
        @DisplayName("Skip returns 0 for zero or negative values")
        void skipReturnsZeroForNegativeOrZero(long skipBytes) throws IOException {
            // Create message with 5 bytes of data
            byte[] data = new byte[] { 10, 20, 30, 40, 50 };
            InputStream in = new ByteArrayInputStream(concat(messageHeader(5), data));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       *
       * @throws InterruptedException {@inheritDoc}
       * @throws NullPointerException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
      public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException {
    
        if (e == null) throw new NullPointerException();
        Monitor monitor = this.monitor;
        if (monitor.enterWhen(notFull, timeout, unit)) {
          try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/ProtwordsPager.java

     */
    public class ProtwordsPager implements Serializable {
    
        /**
         * Default constructor.
         */
        public ProtwordsPager() {
            // Default constructor
        }
    
        private static final long serialVersionUID = 1L;
    
        /** The total number of records. */
        private int allRecordCount;
    
        /**
         * The total number of pages.
         */
        private int allPageCount;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top