Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 2,437 for context (0.09 sec)

  1. docs/distributed/DESIGN.md

    MinIO places new objects in server pools based on proportionate free space, per pool. Following pseudo code demonstrates this behavior.
    
    ```go
    func getAvailablePoolIdx(ctx context.Context) int {
            serverPools := z.getServerPoolsAvailableSpace(ctx)
            total := serverPools.TotalAvailable()
            // choose when we reach this many
            choose := rand.Uint64() % total
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. cmd/metrics-v3-handler.go

    	innerHandler := h.handle(pathComponents, isListingRequest, buckets)
    
    	// Add tracing to the prom. handler
    	tracedHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if ok {
    			tc.FuncName = "handler.MetricsV3"
    			tc.ResponseRecorder.LogErrBody = true
    		}
    
    		innerHandler.ServeHTTP(w, r)
    	})
    
    	// Add authentication
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. cmd/bucket-replication_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"testing"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/replication"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 16 09:28:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/dlpack.cc

    #include "tensorflow/core/platform/logging.h"
    
    namespace tensorflow {
    
    namespace {
    
    // Managing context for the DLManagedTensor, will manage the lifetime of
    // DLManagedTensor. When calling DLManagedTensor::deleter, it will notify the
    // original framework of destruction, and this context will be deleted also.
    struct TfDlManagedTensorCtx {
      TensorReference reference;
      std::vector<int64_t> shape;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         * The path identified by the Java {@code --class-path} option.
         * Used for compilation, execution and Javadoc among others.
         * The Java tools location is {@link StandardLocation#CLASS_PATH}.
         *
         * <h4>Context-sensitive interpretation</h4>
         * A dependency with this path type will not necessarily be placed on the class-path.
         * There are two circumstances where the dependency may nevertheless be placed somewhere else:
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            this.daemon = daemon;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.lang.Runnable#run()
         */
        @Override
        public void run() {
            // context
            crawlerContext.urlFilter = urlFilter;
            crawlerContext.ruleManager = ruleManager;
            crawlerContext.intervalController = intervalController;
    
            urlFilter.init(crawlerContext.sessionId);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. docs/debugging/healing-bin/main.go

    files ending in '.zip' will be searched for '.healing.bin files recursively and
    printed together as a single JSON.
    
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}
    `
    	app.Flags = []cli.Flag{}
    	app.Action = func(c *cli.Context) error {
    		if !c.Args().Present() {
    			cli.ShowAppHelpAndExit(c, 1) // last argument is exit code
    		}
    
    		ht := make(map[string]map[string]interface{})
    		file := c.Args().Get(0)
    		if strings.HasSuffix(file, ".zip") {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  8. docs_src/security/tutorial004_an.py

    from typing import Union
    
    import jwt
    from fastapi import Depends, FastAPI, HTTPException, status
    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from jwt.exceptions import InvalidTokenError
    from passlib.context import CryptContext
    from pydantic import BaseModel
    from typing_extensions import Annotated
    
    # to get a string like this run:
    # openssl rand -hex 32
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/common/ImplementedInvokerAssistant.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.common;
    
    import javax.sql.DataSource;
    
    import org.dbflute.bhv.core.InvokerAssistant;
    import org.dbflute.bhv.core.context.ResourceParameter;
    import org.dbflute.bhv.core.supplement.SequenceCacheHandler;
    import org.dbflute.bhv.exception.BehaviorExceptionThrower;
    import org.dbflute.bhv.exception.SQLExceptionHandlerFactory;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. cmd/object-lambda-handlers.go

    	"Accepted":                        http.StatusAccepted,
    	"Non-Authoritative Information":   http.StatusNonAuthoritativeInfo,
    	"No Content":                      http.StatusNoContent,
    	"Reset Content":                   http.StatusResetContent,
    	"Partial Content":                 http.StatusPartialContent,
    	"Multi-Status":                    http.StatusMultiStatus,
    	"Already Reported":                http.StatusAlreadyReported,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top