Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 2,645 for longs (0.06 seconds)

  1. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            long expectedTimestamp = -1L; // Represents all bits set to 1 for an 8-byte long
            byte[] rawBytes = new byte[8];
            SMBUtil.writeInt8(expectedTimestamp, rawBytes, 0);
            AvTimestamp avTimestamp = new AvTimestamp(rawBytes);
    
            assertEquals(expectedTimestamp, avTimestamp.getTimestamp());
        }
    
        /**
         * Test round-trip conversion: long -> bytes -> long.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            // Negative values remain negative when stored in long fields
            // The calculations will result in negative values
            long expectedCapacity = (long) alloc * sectPerAlloc * bytesPerSect;
            assertEquals(expectedCapacity, smbInfoAllocation.getCapacity());
    
            long expectedFree = (long) free * sectPerAlloc * bytesPerSect;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_SUCCESS), "Should have 1 authentication success event");
            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_FAILURE), "Should have 1 authentication failure event");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

        @Test
        @DisplayName("Test getSize returns endOfFile value")
        void testGetSize() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[22];
            long expectedAllocationSize = 1024L;
            long expectedEndOfFile = 512L;
            int expectedNumberOfLinks = 3;
            boolean expectedDeletePending = true;
            boolean expectedDirectory = false;
    
            // Encode test data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

         */
        public static class FileInfo {
            private final String name;
            private final long size;
            private final long lastModified;
            private final boolean isDirectory;
            private final long attributes;
            private final long creationTime;
            private final long lastAccessTime;
    
            /**
             * Create file info from name and attributes
             *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/MathTesting.java

       * This list contains values that attempt to provoke overflow in long operations. It contains
       * positive values on or near 2^N for N near multiples of 8 (near byte boundaries). This list is
       * a superset of POSITIVE_INTEGER_CANDIDATES.
       */
      static final ImmutableSet<Long> POSITIVE_LONG_CANDIDATES;
    
      static final Iterable<Long> NEGATIVE_LONG_CANDIDATES;
    
      static final Iterable<Long> NONZERO_LONG_CANDIDATES;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/Internal.java

       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractEntity.java

        public class DocMeta implements Serializable {
    
            private static final long serialVersionUID = 1L;
    
            protected String id;
    
            protected Long version;
    
            protected Long seqNo;
    
            protected Long primaryTerm;
    
            private transient RequestOptionCall<IndexRequestBuilder> indexOption;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

         */
        public long getRequestsSent() {
            return requestsSent.get();
        }
    
        /**
         * Get number of requests received
         *
         * @return requests received
         */
        public long getRequestsReceived() {
            return requestsReceived.get();
        }
    
        /**
         * Get number of errors
         *
         * @return error count
         */
        public long getErrors() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/resources/forbidden/es-server-signatures.txt

    java.time.OffsetDateTime#minusWeeks(long)
    java.time.OffsetDateTime#minusYears(long)
    java.time.OffsetDateTime#plus(long, java.time.temporal.TemporalUnit)
    java.time.OffsetDateTime#plus(java.time.temporal.TemporalAmount)
    java.time.OffsetDateTime#plusDays(long)
    java.time.OffsetDateTime#plusHours(long)
    java.time.OffsetDateTime#plusMinutes(long)
    java.time.OffsetDateTime#plusMonths(long)
    java.time.OffsetDateTime#plusNanos(long)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 7.6K bytes
    - Click Count (0)
Back to Top