Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,245 for long (0.04 sec)

  1. android/guava/src/com/google/common/primitives/Longs.java

       *
       * @param value a primitive {@code long} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Long.hashCode(value)")
      public static int hashCode(long value) {
        return Long.hashCode(value);
      }
    
      /**
       * Compares the two specified {@code long} values. The sign of the value returned is the same as
       * that of {@code ((Long) a).compareTo(b)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        }
    
        @Test
        void testTimeConversionMethods() {
            // Test time conversion methods with timezone offset
            long serverTimeZoneOffset = 3600000L; // 1 hour
            response = new SmbComQueryInformationResponse(mockConfig, serverTimeZoneOffset);
    
            // Set a test time using reflection
            long testTime = System.currentTimeMillis();
            setFieldValue(response, "lastWriteTime", testTime);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SmbCircuitBreaker.java

                private final long totalRequests;
                private final long totalFailures;
                private final double failureRate;
                private final long averageResponseTime;
                private final long minResponseTime;
                private final long maxResponseTime;
    
                public WindowMetrics(long totalRequests, long totalFailures, double failureRate, long averageResponseTime, long minResponseTime,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        @DisplayName("Test encode and decode round trip")
        void testEncodeDecodeRoundTrip() throws SMBProtocolDecodingException {
            // Test various values
            long[] testValues = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 0x123456789ABCDEFL };
    
            for (long testValue : testValues) {
                // Create and encode
                FileEndOfFileInformation original = new FileEndOfFileInformation(testValue);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

    public class WitnessHeartbeatMessage extends WitnessRpcMessage {
    
        // Input parameters for WitnessHeartbeat
        private byte[] contextHandle;
        private long sequenceNumber;
    
        // Output parameters for WitnessHeartbeat
        private long responseSequenceNumber;
        private long heartbeatInterval;
    
        /**
         * Creates a new WitnessHeartbeat RPC message.
         */
        public WitnessHeartbeatMessage() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

            if (log.isTraceEnabled()) {
                log.trace("Release transport " + usage + " " + this);
            }
    
            if (usage == 0) {
                if (log.isTraceEnabled()) {
                    log.trace("Transport usage dropped to zero " + this);
                }
            } else if (usage < 0) {
                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

    public class FileBothDirectoryInfo implements FileEntry, Decodable {
    
        private int nextEntryOffset;
        private int fileIndex;
        private long creationTime;
        private long lastAccessTime;
        private long lastWriteTime;
        private long changeTime;
        private long endOfFile;
        private long allocationSize;
        private int extFileAttributes;
        private int eaSize;
        private String shortName;
        private String filename;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/InfoTest.java

            byte[] buffer = new byte[34];
            long create = 1600000000000L;
            long lastAccess = 1600000100000L;
            long lastWrite = 1600000200000L;
            long change = 1600000300000L;
            int attributes = 0x1234;
            // Convert Unix time to Windows FILETIME (100-nanosecond intervals since 1601)
            long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

        public void test_getTimeAdjustTimeMillisAsLong_values() {
            Long[] testValues = { 0L, 1L, -1L, 1000L, -1000L, 60000L, -60000L, 3600000L, -3600000L, Long.MAX_VALUE, Long.MIN_VALUE };
    
            for (Long value : testValues) {
                FessConfig testConfig = new FessConfig.SimpleImpl() {
                    private static final long serialVersionUID = 1L;
    
                    @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

        public ContentLengthHelper() {
            // Default constructor
        }
    
        /** Default maximum content length set to 10MB */
        protected long defaultMaxLength = 10L * 1024L * 1024L;
    
        /** Map to store maximum content lengths for specific MIME types */
        protected Map<String, Long> maxLengthMap = new HashMap<>();
    
        /**
         * Adds a maximum content length for a specific MIME type.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top