Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,328 for Time (0.03 sec)

  1. cmd/storage-interface.go

    	// of this function is to know if the "drive" has "format.json" or not
    	// if it has a "format.json" then is it correct "format.json" or not.
    	IsOnline() bool
    
    	// Returns the last time this disk (re)-connected
    	LastConn() time.Time
    
    	// Indicates if disk is local or not.
    	IsLocal() bool
    
    	// Returns hostname if disk is remote.
    	Hostname() string
    
    	// Returns the entire endpoint.
    	Endpoint() Endpoint
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            // Registration should not be expired initially with long timeout
            assertFalse(registration.isExpired(60000));
    
            // Wait a bit to ensure some time has passed
            Thread.sleep(50);
            // Should be expired with very short timeout (shorter than sleep time)
            assertTrue(registration.isExpired(10));
        }
    
        @Test
        void testStateTransitions() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. tests/joins_table_test.go

    package tests_test
    
    import (
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    )
    
    type Person struct {
    	ID        int
    	Name      string
    	Addresses []Address `gorm:"many2many:person_addresses;"`
    	DeletedAt gorm.DeletedAt
    }
    
    type Address struct {
    	ID   uint
    	Name string
    }
    
    type PersonAddress struct {
    	PersonID  int
    	AddressID int
    	CreatedAt time.Time
    	DeletedAt gorm.DeletedAt
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 10 13:46:18 UTC 2020
    - 3.5K bytes
    - Viewed (1)
  4. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // 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);
    
            // All time methods should return the same converted time
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. internal/stmt_store/stmt_store.go

    // (1 << 63) - 1 is the maximum value that an int64 type can represent.
    const (
    	defaultMaxSize = math.MaxInt
    	// defaultTTL defines the default time-to-live (TTL) for each cache entry.
    	// When the TTL for cache entries is not specified, each cache entry will expire after 24 hours.
    	defaultTTL = time.Hour * 24
    )
    
    // New creates and returns a new Store instance.
    //
    // Parameters:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

            assertArgumentNotEmpty("pattern", pattern);
    
            return converter(new SqlDateConverter(pattern), propertyNames);
        }
    
        /**
         * Sets a converter for time.
         *
         * @param pattern
         *            The time pattern. Must not be {@literal null} or an empty string.
         * @param propertyNames
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. cmd/api-response.go

    // generates CopyObjectResponse from etag and lastModified time.
    func generateCopyObjectResponse(etag string, lastModified time.Time) CopyObjectResponse {
    	return CopyObjectResponse{
    		ETag:         "\"" + etag + "\"",
    		LastModified: amztime.ISO8601Format(lastModified.UTC()),
    	}
    }
    
    // generates CopyObjectPartResponse from etag and lastModified time.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/FileNotifyInformation.java

         */
        int FILE_NOTIFY_CHANGE_SIZE = 0x00000008;
    
        /**
         * Any change to the last write-time of files in the watched directory or subtree causes a change notification wait
         * operation to return. The operating system detects a change to the last write-time only when the file is written
         * to the disk. For operating systems that use extensive caching, detection occurs only when the cache is
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java

     *
     * This command sets file attributes and last write time for a file or directory.
     *
     * @author mbechler
     */
    public class SmbComSetInformation extends ServerMessageBlock {
    
        private final int fileAttributes;
        private final long lastWriteTime;
    
        /**
         * Constructs a set information request to modify file attributes and modification time.
         *
         * @param config the configuration to use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                // Reserved (4 bytes)
                SMBUtil.writeInt4(0, buffer, bufferIndex + 4);
                // Creation Time (8 bytes)
                long creationTime = System.currentTimeMillis() * 10000L + 116444736000000000L;
                SMBUtil.writeInt8(creationTime, buffer, bufferIndex + 8);
                // Last Access Time (8 bytes)
                long lastAccessTime = creationTime + 1000000L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top