Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/org/codelibs/fess/opensearch/log/exentity/SearchLog.java

    import org.dbflute.optional.OptionalEntity;
    
    /**
     * @author FreeGen
     */
    public class SearchLog extends BsSearchLog implements SearchLogEvent {
    
        private static final long serialVersionUID = 1L;
    
        private final List<Pair<String, String>> searchFieldLogList = new ArrayList<>();
    
        private final List<Pair<String, String>> headerList = new ArrayList<>();
    
        private OptionalEntity<UserInfo> userInfo;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResourceException.java

     * - File handle leaks
     * - Connection pool exhaustion
     * - Memory allocation failures
     * - Quota exceeded
     */
    public class SmbResourceException extends SmbException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Resource type that caused the error
         */
        public enum ResourceType {
            FILE_HANDLE, CONNECTION, MEMORY, DISK_SPACE, QUOTA, LOCK, BUFFER, THREAD_POOL
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileFilterTest.java

            // Arrange: filter that accepts only strictly positive length
            SmbFileFilter filter = f -> f.length() > 0;
    
            // negative size -> reject
            when(smbFile.length()).thenReturn(-1L);
            assertFalse(filter.accept(smbFile), "Negative size should be rejected");
            verify(smbFile, times(1)).length();
    
            // zero size -> reject
            reset(smbFile);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsPagingResultBean.java

    /**
     * @param <ENTITY> The type of entity.
     * @author ESFlute (using FreeGen)
     */
    public class EsPagingResultBean<ENTITY> extends PagingResultBean<ENTITY> {
    
        private static final long serialVersionUID = 1L;
    
        protected long took;
        private int totalShards;
        private int successfulShards;
        private int failedShards;
        private TotalHits totalHits;
        private Aggregations aggregations;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        @Test
        @DisplayName("Test setSessionId with boundary values")
        void testSetSessionIdWithBoundaryValues() {
            // Test with various session ID values
            long[] sessionIds = { 0L, 1L, Long.MAX_VALUE, Long.MIN_VALUE, -1L };
    
            for (long sessionId : sessionIds) {
                doNothing().when(messageBlock).setSessionId(sessionId);
                messageBlock.setSessionId(sessionId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top