Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 273 for 0L (0.01 sec)

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

            final int start = dstIndex;
    
            writeTime(createTime, dst, dstIndex);
            dstIndex += 8;
            writeInt8(0L, dst, dstIndex);
            dstIndex += 8;
            writeTime(lastWriteTime, dst, dstIndex);
            dstIndex += 8;
            writeInt8(0L, dst, dstIndex);
            dstIndex += 8;
            /* Samba 2.2.7 needs ATTR_NORMAL
             */
            writeInt2(0x80 | attributes, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

            sink: Buffer,
            byteCount: Long,
          ): Long {
            require(byteCount >= 0L) { "byteCount < 0: $byteCount" }
            check(currentPart == this) { "closed" }
    
            return source.timeout().intersectWith(timeout) {
              when (val limit = currentPartBytesRemaining(maxByteCount = byteCount)) {
                0L -> -1L // No more bytes in this part.
                else -> source.read(sink, limit)
              }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

        public int getAttributes() {
            return 0;
        }
    
        @Override
        public long getCreateTime() {
            return 0L;
        }
    
        @Override
        public long getLastWriteTime() {
            return 0L;
        }
    
        @Override
        public long getLastAccessTime() {
            return 0L;
        }
    
        @Override
        public long getSize() {
            return this.endOfFile;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

            return switch (o) {
            case null -> 0L;
            case Number n -> n.longValue();
            case String s -> toPrimitiveLong(s);
            case java.util.Date d -> pattern != null ? Long.parseLong(new SimpleDateFormat(pattern).format(d)) : d.getTime();
            case Boolean b -> b ? 1L : 0L;
            default -> toPrimitiveLong(o.toString());
            };
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * function is applied to {@code 0L}.
       *
       * @since 21.0
       */
      @CanIgnoreReturnValue
      public long updateAndGet(K key, LongUnaryOperator updaterFunction) {
        checkNotNull(updaterFunction);
        Long result =
            map.compute(
                key, (k, value) -> updaterFunction.applyAsLong(value == null ? 0L : value.longValue()));
        return requireNonNull(result);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Verify through toString that value is set
            assertTrue(info.toString().contains("endOfFile=" + endOfFile));
        }
    
        @ParameterizedTest
        @ValueSource(longs = { 0L, 1L, 100L, 1024L, Long.MAX_VALUE, -1L, Long.MIN_VALUE })
        @DisplayName("Test constructor with various end of file values")
        void testConstructorWithVariousValues(long endOfFile) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        listener.takeEvent(ResponseHeadersEnd::class.java, 0L)
        listener.takeEvent(FollowUpDecision::class.java, 0L)
        listener.takeEvent(ResponseBodyStart::class.java, responseBodyStartDelay)
        listener.takeEvent(ResponseBodyEnd::class.java, responseBodyEndDelay)
        listener.takeEvent(CallEvent.ConnectionReleased::class.java, 0L)
        listener.takeEvent(CallEnd::class.java, 0L)
      }
    
      private fun enableTlsWithTunnel() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(min(LEAST)).isEqualTo(LEAST);
        assertThat(min(GREATEST)).isEqualTo(GREATEST);
        assertThat(min(0x5a4316b8c153ac4dL, 8L, 100L, 0L, 0x6cf78a4b139a4e2aL, 0xff1a618b7f65ea12L))
            .isEqualTo(0L);
      }
    
      public void testLexicographicalComparator() {
        List<long[]> ordered =
            Arrays.asList(
                new long[] {},
                new long[] {LEAST},
                new long[] {LEAST, LEAST},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

            assertEquals(1000L, configHelper.reloadInterval);
    
            configHelper.setReloadInterval(5000L);
            assertEquals(5000L, configHelper.reloadInterval);
    
            configHelper.setReloadInterval(0L);
            assertEquals(0L, configHelper.reloadInterval);
    
            configHelper.setReloadInterval(-1L);
            assertEquals(-1L, configHelper.reloadInterval);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 00:03:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top