Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1761 - 1770 of 2,388 for Long (0.09 seconds)

  1. android/guava/src/com/google/common/io/CharSink.java

       *
       * @return the number of characters written
       * @throws IOException if an I/O error occurs while reading from {@code readable} or writing to
       *     this sink
       */
      @CanIgnoreReturnValue
      public long writeFrom(Readable readable) throws IOException {
        checkNotNull(readable);
    
        try (Writer out = openStream()) {
          return CharStreams.copy(readable, out);
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/pac/ASN1UtilTest.java

            int length = ASN1Util.readLength(s, 100, false);
            assertEquals(10, length);
        }
    
        @Test
        void testReadLength_LongForm() throws IOException {
            // Definite-length long form (length 256)
            InputStream s = new ByteArrayInputStream(new byte[] { (byte) 0x82, 0x01, 0x00 });
            int length = ASN1Util.readLength(s, 500, false);
            assertEquals(256, length);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/pager/ReqHeaderPager.java

     * This class provides pagination functionality for displaying and managing
     * request headers in the administration interface.
     */
    public class ReqHeaderPager implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Default number of records to display per page.
         */
        public static final int DEFAULT_PAGE_SIZE = 20;
    
        /**
         * Default current page number for pagination.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      private static final long serialVersionUID = 0L;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(List[].class, token.getRawType());
        assertThat(token.getType()).isInstanceOf(GenericArrayType.class);
      }
    
      public void testMultiDimensionalGenericArrayType() {
        TypeToken<List<Long>[][][]> token = new TypeToken<List<Long>[][][]>() {};
        assertEquals(List[][][].class, token.getRawType());
        assertThat(token.getType()).isInstanceOf(GenericArrayType.class);
      }
    
      public <T> void testGenericVariableTypeArrays() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should handle various offsets")
            @ValueSource(longs = { 0L, 1L, 512L, 1024L, 4096L, 1048576L, Long.MAX_VALUE })
            void testVariousOffsets(long offset) {
                assertDoesNotThrow(() -> request.setOffset(offset));
            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
        class SizeCalculationTests {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/pager/RelatedQueryPager.java

     * Provides pagination support for related query operations including
     * search, display, and navigation through related query results.
     */
    public class RelatedQueryPager implements Serializable {
        private static final long serialVersionUID = 1L;
    
        /**
         * Default current page number for pagination.
         */
        public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
    
        /**
         * Total number of records in the result set.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/pager/FileConfigPager.java

     * and contains form fields for file crawler configuration parameters.
     */
    public class FileConfigPager implements Serializable {
    
        /** Serial version UID for serialization */
        private static final long serialVersionUID = 1L;
    
        /**
         * Default constructor for file configuration pager.
         * Creates a new instance with default values.
         */
        public FileConfigPager() {
            // Default constructor
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

     *   <li>network/transfer errors</li>
     *   <li>file system errors: permissions</li>
     * </ul>
     *
     * TODO carlos: all these possible has*Exceptions and get*Exceptions methods make the clients too
     *       complex requiring a long list of checks, need to create a parent/interface/encapsulation
     *       for the types of exceptions
     */
    @Deprecated
    public class ArtifactResolutionResult {
        private static final String LS = System.lineSeparator();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 10K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        }.also { expected ->
          assertThat(expected.message).isEqualTo("FRAME_SIZE_ERROR length > 16384: 16777216")
        }
      }
    
      @Test fun windowUpdateRoundTrip() {
        val expectedWindowSizeIncrement: Long = 0x7fffffff
        writeMedium(frame, 4) // length
        frame.writeByte(Http2.TYPE_WINDOW_UPDATE)
        frame.writeByte(FLAG_NONE)
        frame.writeInt(expectedStreamId)
        frame.writeInt(expectedWindowSizeIncrement.toInt())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 28.1K bytes
    - Click Count (0)
Back to Top