- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 1,446 for time (0.04 sec)
-
cmd/erasure-sets.go
func (s *erasureSets) monitorAndConnectEndpoints(ctx context.Context, monitorInterval time.Duration) { r := rand.New(rand.NewSource(time.Now().UnixNano())) time.Sleep(time.Duration(r.Float64() * float64(time.Second))) // Pre-emptively connect the disks if possible. s.connectDisks(false) monitor := time.NewTimer(monitorInterval) defer monitor.Stop() for { select { case <-ctx.Done():
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 27 10:41:37 UTC 2024 - 37K bytes - Viewed (1) -
src/archive/zip/writer_test.go
h := &FileHeader{ Name: "test.txt", Modified: time.Date(2017, 10, 31, 21, 11, 57, 0, timeZone(-7*time.Hour)), } w := NewWriter(&buf) if _, err := w.CreateHeader(h); err != nil { t.Fatalf("unexpected CreateHeader error: %v", err) } if err := w.Close(); err != nil { t.Fatalf("unexpected Close error: %v", err) } want, err := os.ReadFile("testdata/time-go.zip") if err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 14.4K bytes - Viewed (0) -
tensorflow/c/c_test.c
limitations under the License. ==============================================================================*/ #include <limits.h> #include <memory.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <unistd.h> #ifdef _WIN32 #include <process.h> #endif #include "tensorflow/c/c_api.h" #include "tensorflow/c/c_api_experimental.h" #include "tensorflow/c/env.h"
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Apr 24 20:50:35 UTC 2024 - 2.8K bytes - Viewed (0) -
cni/pkg/plugin/cnieventclient.go
// limitations under the License. package plugin import ( "bytes" "context" "encoding/json" "fmt" "io" "net" "net/http" "time" "github.com/containernetworking/cni/pkg/skel" cniv1 "github.com/containernetworking/cni/pkg/types/100" "istio.io/istio/cni/pkg/nodeagent" ) // newCNIClient is a unit test override variable for mocking.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 02 18:48:50 UTC 2024 - 2.7K bytes - Viewed (0) -
tests/tests_test.go
package tests_test import ( "log" "math/rand" "os" "path/filepath" "time" "gorm.io/driver/mysql" "gorm.io/driver/postgres" "gorm.io/driver/sqlite" "gorm.io/driver/sqlserver" "gorm.io/gorm" "gorm.io/gorm/logger" . "gorm.io/gorm/utils/tests" ) var DB *gorm.DB var ( mysqlDSN = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 30 03:21:19 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/sts/custom-token-identity.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "context" "flag" "fmt" "log" "net/url" "time" "github.com/minio/minio-go/v7" cr "github.com/minio/minio-go/v7/pkg/credentials" ) var ( // LDAP integrated Minio endpoint stsEndpoint string // token to use with AssumeRoleWithCustomToken
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 27 00:58:09 UTC 2022 - 3.4K bytes - Viewed (0) -
internal/config/subnet/subnet.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package subnet import ( "bytes" "encoding/json" "errors" "fmt" "io" "mime/multipart" "net/http" "time" xhttp "github.com/minio/minio/internal/http" ) const ( respBodyLimit = 1 << 20 // 1 MiB // LoggerWebhookName - subnet logger webhook target LoggerWebhookName = "subnet" )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 27 16:35:36 UTC 2023 - 2.9K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 19:27:06 UTC 2024 - 33.4K bytes - Viewed (0) -
cmd/peer-rest-server.go
} // Wait until the specified time before executing the signal. if t := vars.Get(peerRESTExecAt); t != "" { execAt, err := time.Parse(time.RFC3339Nano, vars.Get(peerRESTExecAt)) if err != nil { logger.LogIf(GlobalContext, "signalservice", err) execAt = time.Now().Add(restartUpdateDelay) } if d := time.Until(execAt); d > 0 { time.Sleep(d) } } signal := serviceSignal(si)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 53.2K bytes - Viewed (0) -
cmd/erasure-multipart.go
var modTime time.Time // Upload IDs are of the form base64_url(<UUID>x<UnixNano>), we can extract the time from the UUID. if b64, err := base64.RawURLEncoding.DecodeString(uploadIDDir); err == nil { if split := strings.Split(string(b64), "x"); len(split) == 2 { t, err := strconv.ParseInt(split[1], 10, 64) if err == nil { modTime = time.Unix(0, t) } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0)