Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 218 for maxsize (0.36 sec)

  1. src/cmd/go/internal/modfetch/codehost/codehost.go

    	// ReadFile reads the given file in the file tree corresponding to revision rev.
    	// It should refuse to read more than maxSize bytes.
    	//
    	// If the requested file does not exist it should return an error for which
    	// os.IsNotExist(err) returns true.
    	ReadFile(ctx context.Context, rev, file string, maxSize int64) (data []byte, err error)
    
    	// ReadZip downloads a zip file for the subdir subdirectory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      private val toClose = ArrayDeque<DiskLruCache>()
    
      private fun createNewCache() {
        createNewCacheWithSize(Int.MAX_VALUE)
      }
    
      private fun createNewCacheWithSize(maxSize: Int) {
        cache =
          DiskLruCache(filesystem, cacheDir, appVersion, 2, maxSize.toLong(), taskRunner).also {
            toClose.add(it)
          }
        synchronized(cache) { cache.initialize() }
      }
    
      fun setUp(
        baseFilesystem: FileSystem,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

            getOnly = false,
          )
        runBatch(dnsProviders, names)
        val dnsCache =
          Cache(
            directory = File("./target/TestDohMain.cache.${System.currentTimeMillis()}"),
            maxSize = 10L * 1024 * 1024,
          )
        println("Bad targets\n***********\n")
        val url = "https://dns.cloudflare.com/.not-so-well-known/run-dmc-query".toHttpUrl()
        val badProviders =
          listOf(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. docs/sts/client_grants/__init__.py

            if not ca_certs:
                ca_certs = certifi.where()
    
            self._http = urllib3.PoolManager(
                timeout=urllib3.Timeout.DEFAULT_TIMEOUT,
                maxsize=10,
                cert_reqs='CERT_NONE',
                ca_certs=ca_certs,
                retries=urllib3.Retry(
                    total=5,
                    backoff_factor=0.2,
                    status_forcelist=[500, 502, 503, 504]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  5. pkg/controlplane/apiserver/options/options_test.go

    		"--admission-control-config-file=/admission-control-config",
    		"--advertise-address=192.168.10.10",
    		"--anonymous-auth=false",
    		"--audit-log-maxage=11",
    		"--audit-log-maxbackup=12",
    		"--audit-log-maxsize=13",
    		"--audit-log-path=/var/log",
    		"--audit-log-mode=blocking",
    		"--audit-log-batch-buffer-size=46",
    		"--audit-log-batch-max-size=47",
    		"--audit-log-batch-max-wait=48s",
    		"--audit-log-batch-throttle-enable=true",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. src/runtime/asm_s390x.s

    	DISPATCH(runtime·call1073741824, 1073741824)
    	MOVD	$runtime·badreflectcall(SB), R5
    	BR	(R5)
    
    #define CALLFN(NAME,MAXSIZE)			\
    TEXT NAME(SB), WRAPPER, $MAXSIZE-48;		\
    	NO_LOCAL_POINTERS;			\
    	/* copy arguments to stack */		\
    	MOVD	stackArgs+16(FP), R4;			\
    	MOVWZ	stackArgsSize+24(FP), R5;		\
    	MOVD	$stack-MAXSIZE(SP), R6;		\
    loopArgs: /* copy 256 bytes at a time */	\
    	CMP	R5, $256;			\
    	BLT	tailArgs;			\
    	SUB	$256, R5;			\
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsKeyMatchCB.java

                doColumn("createdBy");
            }
    
            public void columnCreatedTime() {
                doColumn("createdTime");
            }
    
            public void columnMaxSize() {
                doColumn("maxSize");
            }
    
            public void columnQuery() {
                doColumn("query");
            }
    
            public void columnTerm() {
                doColumn("term");
            }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. docs/features/caching.md

    ```kotlin
      private val client: OkHttpClient = OkHttpClient.Builder()
          .cache(Cache(
              directory = File(application.cacheDir, "http_cache"),
              // $0.05 worth of phone storage in 2020
              maxSize = 50L * 1024L * 1024L // 50 MiB
          ))
          .build()
    ```
    
    ## EventListener events 
    
    Cache Events are exposed via the EventListener API.  Typical scenarios are below.
    
    ### Cache Hit
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. cmd/kube-apiserver/app/options/options_test.go

    		"--advertise-address=192.168.10.10",
    		"--allow-privileged=false",
    		"--anonymous-auth=false",
    		"--apiserver-count=5",
    		"--audit-log-maxage=11",
    		"--audit-log-maxbackup=12",
    		"--audit-log-maxsize=13",
    		"--audit-log-path=/var/log",
    		"--audit-log-mode=blocking",
    		"--audit-log-batch-buffer-size=46",
    		"--audit-log-batch-max-size=47",
    		"--audit-log-batch-max-wait=48s",
    		"--audit-log-batch-throttle-enable=true",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modfetch/codehost/vcs.go

    	return info, nil
    }
    
    func (r *vcsRepo) Latest(ctx context.Context) (*RevInfo, error) {
    	return r.Stat(ctx, "latest")
    }
    
    func (r *vcsRepo) ReadFile(ctx context.Context, rev, file string, maxSize int64) ([]byte, error) {
    	if rev == "latest" {
    		rev = r.cmd.latest
    	}
    	_, err := r.Stat(ctx, rev) // download rev into local repo
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top