Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1621 - 1630 of 3,598 for long (0.04 sec)

  1. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

          return super.hashCode();
        }
    
        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
          return super.toString();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /*
       * This is somewhat of a weak test; we verify that all of the methods are
       * correct, but not that they're actually forwarding correctly. We also rely
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/escape/Escaper.java

     * because of the possibility of splitting a surrogate pair. The only case in which it is safe to
     * escape strings and concatenate the results is if you can rule out this possibility, either by
     * splitting an existing long string into short strings adaptively around {@linkplain
     * Character#isHighSurrogate surrogate} {@linkplain Character#isLowSurrogate pairs}, or by starting
     * with short strings already known to be free of unpaired surrogates.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/Pac.java

                if (log.isDebugEnabled()) {
                    log.debug(String.format("PAC signature validation failed, have: %s expected: %s type: %d len: %d",
                            Hexdump.toHexString(checksum), Hexdump.toHexString(this.serverSignature.getChecksum()),
                            this.serverSignature.getType(), data.length));
                }
                if (log.isTraceEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. CHANGELOG.md

    
    ## Version 5.0.0-alpha.9
    
    _2022-06-16_
    
     *  New: Enforce label length limits in URLs. `HttpUrl` now rejects URLs whose domains aren't valid.
        This includes overly-long domain names (longer than 253 characters), overly-long labels (more
        than 63 characters between dots), and empty labels.
     *  New: Don't include the `Content-Length` header in multipart bodies. Servers must delimit
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (2)
  5. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        @Test
        @DisplayName("Test writeUTime with DST scenarios")
        void testWriteUTimeWithDST() {
            when(mockConfig.getLocalTimezone()).thenReturn(mockTimeZone);
    
            byte[] dst = new byte[4];
            long testTime = System.currentTimeMillis();
    
            // Test when both current time and test time are in DST
            when(mockTimeZone.inDaylightTime(any(Date.class))).thenReturn(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

          for (Entry<Range<K>, V> entry : mapOfRanges.entrySet()) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
    
        @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      Object writeReplace() {
        return new SerializedForm<>(asMapOfRanges());
      }
    
      @J2ktIncompatible // java.io.ObjectInputStream
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            assertEquals(mixedCaseUser, type3.getUser());
        }
    
        @Test
        @DisplayName("Should handle long passwords")
        void testLongPasswords() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
            String longPassword = createTestString(256); // Very long password
    
            // When/Then
            assertDoesNotThrow(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            assertThrows(NullPointerException.class, () -> sis.read((byte[]) null));
        }
    
        @ParameterizedTest
        @ValueSource(longs = { 0L, -1L, -10L })
        @DisplayName("Skip returns 0 for zero or negative values")
        void skipReturnsZeroForNegativeOrZero(long skipBytes) throws IOException {
            // Create message with 5 bytes of data
            byte[] data = new byte[] { 10, 20, 30, 40, 50 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

        private final SmbFile file;
        private final boolean append, useNTSmbs;
        private int openFlags;
        private final int access;
        private final int writeSize;
        private long fp;
        private byte[] tmp = new byte[1];
        private SmbComWriteAndX reqx;
        private SmbComWriteAndXResponse rspx;
        private SmbComWrite req;
        private SmbComWriteResponse rsp;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/Type3Message.java

                final byte[] ntlmClientChallenge = new byte[8];
                tc.getConfig().getRandom().nextBytes(ntlmClientChallenge);
    
                long ts = (System.currentTimeMillis() + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601) * 10000;
                if (haveTimestamp) {
                    ts = ((AvTimestamp) AvPairs.get(avPairs, AvPair.MsvAvTimestamp)).getTimestamp();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
Back to top