Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 260 for 0L (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

         */
        @Test
        @DisplayName("Test serverTime field with various long values")
        public void testServerTimeField() {
            // Test with zero
            serverData.serverTime = 0L;
            assertEquals(0L, serverData.serverTime);
    
            // Test with positive value
            serverData.serverTime = 132514080000000000L; // Windows file time
            assertEquals(132514080000000000L, serverData.serverTime);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalController.java

        /** Delay in milliseconds after processing a URL */
        protected long delayMillisAfterProcessing = 0L;
    
        /** Delay in milliseconds when no URL is in the queue */
        protected long delayMillisAtNoUrlInQueue = 500L;
    
        /** Delay in milliseconds before processing a URL */
        protected long delayMillisBeforeProcessing = 0L;
    
        /** Delay in milliseconds for waiting for new URLs */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:58:39 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

        override val isReady: Boolean
          get() = connectState == ConnectState.TLS_CONNECTED
    
        var tcpConnectDelayNanos = 0L
        var tcpConnectThrowable: Throwable? = null
        var yieldBeforeTcpConnectReturns = false
        var connectTcpNextPlan: FakePlan? = null
        var tlsConnectDelayNanos = 0L
        var tlsConnectThrowable: Throwable? = null
        var connectTlsNextPlan: FakePlan? = null
    
        fun createRetry(): FakePlan {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        void testServerInfo1TimeMethods() throws Exception {
            NetServerEnum2Response.ServerInfo1 server = response.new ServerInfo1();
            assertEquals(0L, server.createTime());
            assertEquals(0L, server.lastModified());
            assertEquals(0L, server.lastAccess());
            assertEquals(0L, server.length());
        }
    
        @Test
        @DisplayName("Test ServerInfo1 toString")
        void testServerInfo1ToString() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          this.throttlePeriodNanos = 0L
          this.failHandshake = false
          this.onRequestStart = null
          this.doNotReadRequestBody = false
          this.onRequestBody = null
          this.onResponseStart = null
          this.onResponseBody = null
          this.onResponseEnd = null
          this.shutdownServer = false
          this.headersDelayNanos = 0L
          this.bodyDelayNanos = 0L
          this.trailersDelayNanos = 0L
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt

      private val socket: MockWebServerSocket,
      private val delegate: Sink,
      private val bytesPerPeriod: Long,
      private val periodDelayNanos: Long,
    ) : Sink by delegate {
      private var bytesWrittenSinceLastDelay = 0L
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        var bytesLeft = byteCount
    
        while (bytesLeft > 0) {
          if (bytesWrittenSinceLastDelay == bytesPerPeriod) {
            flush()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 29 12:43:16 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

          }
        }
    
        if (isClient) {
          random.nextBytes(maskKey!!)
          sinkBuffer.write(maskKey)
    
          if (dataSize > 0L) {
            messageBuffer.readAndWriteUnsafe(maskCursor!!)
            maskCursor.seek(0L)
            toggleMask(maskCursor, maskKey)
            maskCursor.close()
          }
        }
    
        sinkBuffer.write(messageBuffer, dataSize)
        sink.flush()
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/HexdumpTest.java

            // Test various long values
            assertEquals("0000000000000000", Hexdump.toHexString(0L, 16));
            assertEquals("00000000000000FF", Hexdump.toHexString(255L, 16));
            assertEquals("FFFFFFFFFFFFFFFF", Hexdump.toHexString(-1L, 16));
    
            // Test different sizes
            assertEquals("00000000", Hexdump.toHexString(0L, 8));
            assertEquals("12345678", Hexdump.toHexString(0x12345678L, 8));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                }
                if (!doc.containsKey(indexFieldFavoriteCount)) {
                    doc.put(indexFieldFavoriteCount, 0L);
                }
                if (!doc.containsKey(indexFieldClickCount)) {
                    doc.put(indexFieldClickCount, 0L);
                }
                if (!doc.containsKey(indexFieldBoost)) {
                    doc.put(indexFieldBoost, 1.0f);
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top