Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 415 for 1L (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

        }
    
        /**
         * Parameterised test of capacity values, including edge cases such as
         * zero and negative capacities.
         */
        @ParameterizedTest
        @ValueSource(longs = { 0L, -1L, Long.MAX_VALUE })
        @DisplayName("capacity may be any long value")
        void testCapacityEdgeValues(long capacity) {
            when(mockAllocInfo.getCapacity()).thenReturn(capacity);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                    resultMap.get("query"));
            assertEquals(3, document.size());
        }
    
        public void test_getDocumentListByPrefixId() {
            documentSizeByQuery = 1L;
            final Map<String, String> resultMap = new HashMap<>();
            final SearchEngineClient client = new SearchEngineClient() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

     * and whether the crawling process should be aborted.
     */
    public class DataStoreCrawlingException extends CrawlingAccessException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The URL where the crawling error occurred.
         */
        private final String url;
    
        /**
         * Flag indicating whether the crawling process should be aborted.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        connectionIndex: Int,
        exchangeIndex: Int,
      ): RecordedRequest {
        var request: RequestLine = DEFAULT_REQUEST_LINE_HTTP_1
        val headers = Headers.Builder()
        var contentLength = -1L
        var chunked = false
        var hasBody = false
        val requestBody = TruncatingBuffer(bodyLimit)
        var chunkSizes: List<Int>? = null
        var failure: IOException? = null
    
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

      fun bytesThrowsMoreThanIntMaxValue() {
        val body: ResponseBody =
          object : ResponseBody() {
            override fun contentType(): MediaType? = null
    
            override fun contentLength(): Long = Int.MAX_VALUE + 1L
    
            override fun source(): BufferedSource = throw AssertionError()
          }
        assertFailsWith<IOException> {
          body.bytes()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

        public void testConvertValue_propertyConverter_asObject() throws Exception {
            assertThat(new CopyOptions().converter(new NumberConverter("##0"), BeanNames.aaa()).convertValue("1", "aaa", null),
                    is((Object) 1L));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testConvertValue_typeConverter_asString() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            SMBUtil.writeInt4(overflowSize, buffer, 6);
    
            response.readParameterWordsWireFormat(buffer, 0);
    
            // 0xFFFFFFFF becomes -1 when interpreted as signed int
            assertEquals(-1L, response.getSize());
        }
    
        @Test
        void testReadBytesWireFormat() {
            // Test readBytesWireFormat - should always return 0
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

            if (recursive == null || Constants.FALSE.equalsIgnoreCase(recursive.toString())) {
                return 1L;
            }
            if (Constants.TRUE.equalsIgnoreCase(recursive.toString())) {
                return -1L;
            }
    
            return 1L;
        }
    
        /**
         * Determines the maximum crawling depth from the configuration parameters.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ShortsTest.java

        }
        assertCastFails(GREATEST + 1L);
        assertCastFails(LEAST - 1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      public void testSaturatedCast() {
        for (short value : VALUES) {
          assertThat(Shorts.saturatedCast((long) value)).isEqualTo(value);
        }
        assertThat(Shorts.saturatedCast(GREATEST + 1L)).isEqualTo(GREATEST);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/log/exentity/UserInfo.java

    import org.codelibs.fess.opensearch.log.bsentity.BsUserInfo;
    
    /**
     * @author FreeGen
     */
    public class UserInfo extends BsUserInfo implements SearchLogEvent {
    
        private static final long serialVersionUID = 1L;
    
        private Map<String, Object> fields;
    
        @Override
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top