Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 265 for 0L (0.01 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

                final long lastWriteTime, final long lastAccessTime) {
            this(config, fid, new FileBasicInfo(createTime, lastAccessTime, lastWriteTime, 0L, attributes | 0x80));
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = this.getSubCommand();
            dstIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            // Setup
            String pipeName = "TestPipe";
            long timeout = 0L;
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName, timeout);
            byte[] buffer = new byte[100];
    
            // Execute
            int bytesEncoded = request.encode(buffer, 0);
    
            // Verify
            assertEquals(0L, SMBUtil.readInt8(buffer, 0));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

            // We've chosen a connection to evict. Confirm it's still okay to be evicted, then close it.
            toEvict.withLock {
              if (toEvict.calls.isNotEmpty()) return 0L // No longer idle.
              if (toEvict.idleAtNs != toEvictIdleAtNs) return 0L // No longer oldest.
              toEvict.noNewExchanges = true
              connections.remove(toEvict)
            }
            addressStates[toEvict.route.address]?.scheduleOpener()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

            }
        }
    
        public void test_getAllWordsNum() {
            try {
                assertEquals(0L, suggestHelper.getAllWordsNum());
            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        public void test_getDocumentWordsNum() {
            try {
                assertEquals(0L, suggestHelper.getDocumentWordsNum());
            } catch (Exception e) {
                assertTrue(true);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      }
    
    internal fun checkDuration(
      name: String,
      duration: Long,
      unit: TimeUnit,
    ): Int {
      check(duration >= 0L) { "$name < 0" }
      val millis = unit.toMillis(duration)
      require(millis <= Integer.MAX_VALUE) { "$name too large" }
      require(millis != 0L || duration <= 0L) { "$name too small" }
      return millis.toInt()
    }
    
    internal fun checkDuration(
      name: String,
      duration: Duration,
    ): Int {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

          eachQueue@ for (queue in readyQueues) {
            val candidate = queue.futureTasks[0]
            val candidateDelay = maxOf(0L, candidate.nextExecuteNanoTime - now)
    
            when {
              // Compute the delay of the soonest-executable task.
              candidateDelay > 0L -> {
                minDelayNanos = minOf(candidateDelay, minDelayNanos)
                continue@eachQueue
              }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        val buffer = Buffer()
        var receivedByteCount = 0L
    
        @Throws(IOException::class)
        override fun write(
          source: Buffer,
          byteCount: Long,
        ) {
          val toRead = minOf(remainingByteCount, byteCount)
          if (toRead > 0L) {
            source.read(buffer, toRead)
          }
          val toSkip = byteCount - toRead
          if (toSkip > 0L) {
            source.skip(toSkip)
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        }
    
        static Stream<Arguments> validParams() {
            // fid 0x1234, lastWriteTime 0 -> UTime all 0xFF
            return Stream.of(Arguments.of(0x1234, 0L, new byte[] { 0x34, 0x12, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
                    // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

      public void testFlatMapToLong_nullStream() {
        SpliteratorTester.ofLong(
                () ->
                    CollectSpliterators.flatMapToLong(
                        Arrays.spliterator(new Long[] {1L, 0L, 1L, 2L, 3L}),
                        (Long i) -> i == 0L ? null : LongStream.of(i).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        4))
            .expect(1L, 1L, 2L, 3L);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

        delegate: Source,
        private val contentLength: Long,
      ) : ForwardingSource(delegate) {
        private var bytesReceived = 0L
        private var invokeStartEvent = true
        private var completed = false
        private var closed = false
    
        init {
          if (contentLength == 0L) {
            complete(null)
          }
        }
    
        @Throws(IOException::class)
        override fun read(
          sink: Buffer,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top