Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 260 for 0L (0.02 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

                throw ProtocolException("length encoded with more than 8 bytes is not supported")
              }
    
              var lengthBits = source.readByte().toLong() and 0xff
              if (lengthBits == 0L || lengthBytes == 1 && lengthBits and 0b1000_0000 == 0L) {
                throw ProtocolException("invalid encoding for length")
              }
    
              for (i in 1 until lengthBytes) {
                lengthBits = lengthBits shl 8
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        val pool = factory.newConnectionPool()
        val poolApi = ConnectionPool(pool)
        val c1 = factory.newConnection(pool, routeA1, 0L)
        allocateAndLeakAllocation(poolApi, c1)
        awaitGarbageCollection()
        assertThat(pool.closeConnections(100L)).isEqualTo(0L)
        assertThat(c1.calls).isEmpty()
    
        // Can't allocate once a leak has been detected.
        assertThat(c1.noNewExchanges).isTrue()
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

    @NullUnmarked
    public class UnsignedIntsTest extends TestCase {
      private static final long[] UNSIGNED_INTS = {
        0L,
        1L,
        2L,
        3L,
        0x12345678L,
        0x5a4316b8L,
        0x6cf78a4bL,
        0xff1a618bL,
        0xfffffffdL,
        0xfffffffeL,
        0xffffffffL
      };
    
      private static final int LEAST = (int) 0L;
      private static final int GREATEST = (int) 0xffffffffL;
    
      public void testCheckedCast() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle locks with zero values")
            void testLocksWithZeroValues() {
                Smb2Lock[] locks = new Smb2Lock[] { new Smb2Lock(0L, 0L, 0) };
    
                Smb2LockRequest req = new Smb2LockRequest(mockConfig, testFileId, locks);
                byte[] buffer = new byte[256];
    
                int bytesWritten = req.writeBytesWireFormat(buffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            }
    
            @Override
            public long createTime() {
                return 0L;
            }
    
            @Override
            public long lastModified() {
                return 0L;
            }
    
            @Override
            public long length() {
                return 0L;
            }
    
            @Override
            public String toString() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/ShareEnumIterator.java

        }
    
        private SmbResource adapt(final FileEntry e) throws MalformedURLException {
            return new SmbFile(this.parent, e.getName(), false, e.getType(), SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, 0L, 0L,
                    0L, 0L);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.Iterator#hasNext()
         */
        @Override
        public boolean hasNext() {
            return this.next != null;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. 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 k, @Nullable Long value) ->
                    updaterFunction.applyAsLong(value == null ? 0L : value.longValue()));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/LongAdder.java

       * @return the sum
       */
      public long sumThenReset() {
        long sum = base;
        Cell[] as = cells;
        base = 0L;
        if (as != null) {
          int n = as.length;
          for (int i = 0; i < n; ++i) {
            Cell a = as[i];
            if (a != null) {
              sum += a.value;
              a.value = 0L;
            }
          }
        }
        return sum;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top