Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Epoch (0.05 sec)

  1. okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt

        assertThat(builder["e"]).isNull()
      }
    
      @Test fun builderSetOperator() {
        val builder = Headers.Builder()
        builder["a"] = "b"
        builder["c"] = "d"
        builder["e"] = Date(0L)
        builder["g"] = Instant.EPOCH
        assertThat(builder["a"]).isEqualTo("b")
        assertThat(builder["c"]).isEqualTo("d")
        assertThat(builder["e"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Dec 21 01:54:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    				const ticksPerSecond = 1e7    // Windows timestamp resolution
    				ts := int64(attrBuf.uint64()) // ModTime since Windows epoch
    				secs := ts / ticksPerSecond
    				nsecs := (1e9 / ticksPerSecond) * (ts % ticksPerSecond)
    				epoch := time.Date(1601, time.January, 1, 0, 0, 0, 0, time.UTC)
    				modified = time.Unix(epoch.Unix()+secs, nsecs)
    			}
    		case unixExtraID, infoZipUnixExtraID:
    			if len(fieldBuf) < 8 {
    				continue parseExtras
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. internal/jwt/parser.go

    	c.Issuer = issuer
    }
    
    // SetAudience sets audience for these claims
    func (c *StandardClaims) SetAudience(aud string) {
    	c.Audience = aud
    }
    
    // SetExpiry sets expiry in unix epoch secs
    func (c *StandardClaims) SetExpiry(t time.Time) {
    	c.ExpiresAt = t.Unix()
    }
    
    // SetAccessKey sets access key as jwt subject and custom
    // "accessKey" field.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. docs/multi-user/README.md

    	}
      ]
    }
    ```
    
    #### Common information available in all requests
    
    - `aws:CurrentTime` - This can be used for conditions that check the date and time.
    - `aws:EpochTime` - This is the date in epoch or Unix time, for use with date/time conditions.
    - `aws:PrincipalType` - This value indicates whether the principal is an account (Root credential), user (MinIO user), or assumed role (STS)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResource.java

    
        /**
         * Retrieve the last time the file represented by this
         * <code>SmbResource</code> was modified. The value returned is suitable for
         * constructing a {@link java.util.Date} object (i.e. seconds since Epoch
         * 1970). Times should be the same as those reported using the properties
         * dialog of the Windows Explorer program.
         *
         * @return The number of milliseconds since the 00:00:00 GMT, January 1,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (0)
  6. src/archive/tar/format.go

    // the maximum number of bytes allowed for each string field and
    // the integer type used to store each numeric field
    // (where timestamps are stored as the number of seconds since the Unix epoch).
    //
    // The table's lower portion shows specialized features of each format,
    // such as supported string encodings, support for sub-second timestamps,
    // or support for sparse files.
    //
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        builder = builder.addAll(headersOf())
        builder = builder.add("", Date(0L))
        builder = builder.add("", Instant.EPOCH)
        builder = builder.set("", "")
        builder = builder.set("", Date(0L))
        builder = builder.set("", Instant.EPOCH)
        builder = builder.removeAll("")
        val get: String? = builder[""]
        val headers: Headers = builder.build()
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  8. docs/metrics/v3.md

    | `minio_system_process_start_time_seconds`          | Start time for MinIO process in seconds since Unix epoch. <br><br>Type: gauge                                                         | `server` |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 22:30:11 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

            return path;
        }
    
    /**
     * Retrieve the time this <code>SmbFile</code> was created. The value
     * returned is suitable for constructing a {@link java.util.Date} object
     * (i.e. seconds since Epoch 1970). Times should be the same as those
     * reported using the properties dialog of the Windows Explorer program.
     *
     * For Win95/98/Me this is actually the last write time. It is currently
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    		return errors.New("Presign cannot be generated without access and secret keys")
    	}
    
    	// FIXME: Remove following portion of code after fixing a bug in minio-go preSignV2.
    
    	d := UTCNow()
    	// Find epoch expires when the request will expire.
    	epochExpires := d.Unix() + expires
    
    	// Add expires header if not present.
    	expiresStr := req.Header.Get("Expires")
    	if expiresStr == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top