Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 415 for 1L (0.11 sec)

  1. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

            when(mockTree.getMaximumBufferSize()).thenReturn(0x10000);
            when(mockTree.getConfig()).thenReturn(mockConfig);
            when(mockTree.isConnected()).thenReturn(true);
            when(mockTree.getTreeId()).thenReturn(1L);
    
            when(mockFile.getType()).thenReturn(SmbConstants.TYPE_FILESYSTEM);
        }
    
        @Nested
        @DisplayName("Happy path")
        class HappyPath {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            void testIsResponseAsyncTrue() {
                testRequest.setAsyncId(12345L);
                assertTrue(testRequest.isResponseAsync());
            }
    
            @ParameterizedTest
            @ValueSource(longs = { 1L, 100L, Long.MAX_VALUE })
            @DisplayName("isResponseAsync should return true for various non-zero asyncIds")
            void testIsResponseAsyncWithDifferentValues(long asyncId) {
                testRequest.setAsyncId(asyncId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                            try {
                                long retryDelay = Math.min(MAX_RETRY_DELAY,
                                        BASE_RETRY_DELAY * (1L << Math.min(MAX_BACKOFF_SHIFT, getFailureCount(handle))));
                                Thread.sleep(retryDelay);
                            } catch (InterruptedException ie) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

      private val cleanupTask =
        object : Task("$okHttpName Cache") {
          override fun runOnce(): Long {
            synchronized(this@DiskLruCache) {
              if (!initialized || closed) {
                return -1L // Nothing to do.
              }
    
              try {
                trimToSize()
              } catch (_: IOException) {
                mostRecentTrimFailed = true
              }
    
              try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

              }
            }.buffer()
        }
    
        override fun contentType(): MediaType? = contentType?.toMediaTypeOrNull()
    
        override fun contentLength(): Long = contentLength?.toLongOrDefault(-1L) ?: -1L
    
        override fun source(): BufferedSource = bodySource
      }
    
      companion object {
        private const val VERSION = 201105
        private const val ENTRY_METADATA = 0
        private const val ENTRY_BODY = 1
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

                documentList.add(doc);
    
                // Create empty aggregations instead of null
                Aggregations emptyAggregations = InternalAggregations.EMPTY;
                return new SearchResult(documentList, 1L, "eq", 100L, false, new FacetResponse(emptyAggregations));
            }
        }
    
        // Additional test searcher classes for getName() testing
        private static class CustomSearcher extends RankFusionSearcher {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

        protected static class ActionMultipartFormFile implements MultipartFormFile, Serializable {
    
            private static final long serialVersionUID = 1L;
    
            protected final DiskFileItem fileItem;
    
            public ActionMultipartFormFile(final DiskFileItem fileItem) {
                this.fileItem = fileItem;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

        }
    
        // Test configuration class extending FessConfig.SimpleImpl
        private static class TestFessConfig extends FessConfig.SimpleImpl {
            private static final long serialVersionUID = 1L;
    
            @Override
            public String getApiPingSearchEngineFields() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

            .optional(defaultValue = 0),
          Adapters.INTEGER_AS_BIG_INTEGER,
          algorithmIdentifier,
          name,
          validity,
          name,
          subjectPublicKeyInfo,
          Adapters.BIT_STRING.withTag(tag = 1L).optional(),
          Adapters.BIT_STRING.withTag(tag = 2L).optional(),
          extension.asSequenceOf().withExplicitBox(tag = 3).optional(defaultValue = listOf()),
          decompose = {
            listOf(
              it.version,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/UnsignedLong.java

      public static final UnsignedLong ZERO = new UnsignedLong(0);
      public static final UnsignedLong ONE = new UnsignedLong(1);
      public static final UnsignedLong MAX_VALUE = new UnsignedLong(-1L);
    
      private final long value;
    
      private UnsignedLong(long value) {
        this.value = value;
      }
    
      /**
       * Returns an {@code UnsignedLong} corresponding to a given bit representation. The argument is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top