Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 435 for sub (0.36 sec)

  1. cmd/data-scanner.go

    // When the returned function is called it will wait.
    func (d *dynamicSleeper) Timer(ctx context.Context) func() {
    	t := time.Now()
    	return func() {
    		doneAt := time.Now()
    		d.Sleep(ctx, doneAt.Sub(t))
    	}
    }
    
    // Sleep sleeps the specified time multiplied by the sleep factor.
    // If the factor is updated the sleep will be done again with the new factor.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  2. cmd/storage-rest-server.go

    	nanoTime, err := strconv.ParseInt(r.Header.Get("X-Minio-Time"), 10, 64)
    	if err != nil {
    		return errMalformedAuth
    	}
    
    	localTime := UTCNow()
    	remoteTime := time.Unix(0, nanoTime)
    
    	delta := remoteTime.Sub(localTime)
    	if delta < 0 {
    		delta *= -1
    	}
    
    	if delta > DefaultSkewTime {
    		return errSkewedAuthTime
    	}
    
    	return nil
    }
    
    // IsAuthValid - To authenticate and verify the time difference.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

                } finally {
                    close();
                }
            }
        }
    
        /**
         * This method will copy the file or directory represented by this
         * {@code SmbFile} and it's sub-contents to the location specified by the
         * {@code dest} parameter. This file and the destination file do not
         * need to be on the same host. This operation does not copy extended
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. fastapi/routing.py

            endpoint_ctx = (
                _extract_endpoint_context(dependant.call)
                if dependant.call
                else EndpointContext()
            )
    
            if dependant.path:
                # For mounted sub-apps, include the mount path prefix
                mount_path = request.scope.get("root_path", "").rstrip("/")
                endpoint_ctx["path"] = f"{request.method} {mount_path}{dependant.path}"
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  5. cmd/notification.go

    			continue
    		}
    		client := client
    		ng.Go(ctx, func() error {
    			return client.CommitBinary(ctx)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    // SignalConfigReload reloads requested sub-system on a remote peer dynamically.
    func (sys *NotificationSys) SignalConfigReload(subSys string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients))
    	for idx, client := range sys.peerClients {
    		if client == nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 46K bytes
    - Viewed (0)
  6. cmd/peer-rest-server.go

    		return
    	}
    	releaseInfo := r.Form.Get(peerRESTReleaseInfo)
    
    	lrTime, err := releaseInfoToReleaseTime(releaseInfo)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	if lrTime.Sub(currentReleaseTime) <= 0 {
    		s.writeErrorResponse(w, fmt.Errorf("server is running the latest version: %s", Version))
    		return
    	}
    
    	zr, err := zstd.NewReader(r.Body)
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 53.6K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    		AccessKey: "newroot",
    		SecretKey: "newroot123",
    	})
    	if err == nil {
    		c.Fatalf("restricted STS account was able to create service account bypassing sub-policy!")
    	}
    }
    
    func (s *TestSuiteIAM) TestSTSWithTags(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    	bucket := getRandomBucketName()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 103.4K bytes
    - Viewed (1)
  8. cmd/admin-handlers-users_test.go

    		AccessKey: "newroot",
    		SecretKey: "newroot123",
    	})
    	if err == nil {
    		c.Fatalf("restricted service account was able to create service account bypassing sub-policy!")
    	}
    }
    
    func (s *TestSuiteIAM) SetUpAccMgmtPlugin(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 50.6K bytes
    - Viewed (0)
  9. internal/grid/connection.go

    	// Buffer will be reset empty when returning successfully.
    	writeBuffer := func() (ok bool) {
    		now := time.Now()
    		// Only set write deadline once every second
    		if now.Sub(lastSetDeadline) > time.Second {
    			err := conn.SetWriteDeadline(now.Add(connWriteTimeout + time.Second))
    			if err != nil {
    				gridLogIf(ctx, fmt.Errorf("conn.SetWriteDeadline: %w", err))
    				return false
    			}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 46.9K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.h

    // * We do not provide TF_OK since it is not strictly necessary and we
    //   are not optimizing for convenience.
    // * We make assumption that one session has one graph.  This should be
    //   fine since we have the ability to run sub-graphs.
    // * We could allow NULL for some arguments (e.g., NULL options arg).
    //   However since convenience is not a primary goal, we don't do this.
    // * Devices are not in this API.  Instead, they are created/used internally
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top