Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 200 for maxsize (0.12 sec)

  1. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

                new MessageDigestHashFunction(algorithmName, bytes, algorithmName).hashBytes(input));
          }
          try {
            int maxSize = digest.getDigestLength();
            new MessageDigestHashFunction(algorithmName, maxSize + 1, algorithmName);
            fail();
          } catch (IllegalArgumentException expected) {
          }
        } catch (NoSuchAlgorithmException nsae) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/http2/hpack/hpack.go

    	// https://httpwg.org/specs/rfc7541.html#rfc.section.2.3.2
    	table          headerFieldTable
    	size           uint32 // in bytes
    	maxSize        uint32 // current maxSize
    	allowedMaxSize uint32 // maxSize may go up to this, inclusive
    }
    
    func (dt *dynamicTable) setMaxSize(v uint32) {
    	dt.maxSize = v
    	dt.evict()
    }
    
    func (dt *dynamicTable) add(f HeaderField) {
    	dt.table.addEntry(f)
    	dt.size += f.Size()
    	dt.evict()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 14 18:30:34 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  3. src/go/printer/nodes.go

    		return false // don't allow tags or comments
    	}
    	// only name(s) and type
    	const maxSize = 30 // adjust as appropriate, this is an approximate value
    	namesSize := identListSize(f.Names, maxSize)
    	if namesSize > 0 {
    		namesSize = 1 // blank between names and types
    	}
    	typeSize := p.nodeSize(f.Type, maxSize)
    	return namesSize+typeSize <= maxSize
    }
    
    func (p *printer) setLineComment(text string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  4. src/runtime/tracebuf.go

    		// less error-prone.
    		return
    	}
    	w.mp.trace.buf[w.gen%2] = w.traceBuf
    }
    
    // ensure makes sure that at least maxSize bytes are available to write.
    //
    // Returns whether the buffer was flushed.
    func (w traceWriter) ensure(maxSize int) (traceWriter, bool) {
    	refill := w.traceBuf == nil || !w.available(maxSize)
    	if refill {
    		w = w.refill(traceNoExperiment)
    	}
    	return w, refill
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. src/runtime/asm_wasm.s

    TEXT runtime·morestack_noctxt(SB),NOSPLIT,$0
    	MOVD $0, CTXT
    	JMP runtime·morestack(SB)
    
    TEXT ·asmcgocall(SB), NOSPLIT, $0-0
    	UNDEF
    
    #define DISPATCH(NAME, MAXSIZE) \
    	Get R0; \
    	I64Const $MAXSIZE; \
    	I64LeU; \
    	If; \
    		JMP NAME(SB); \
    	End
    
    TEXT ·reflectcall(SB), NOSPLIT, $0-48
    	I64Load fn+8(FP)
    	I64Eqz
    	If
    		CALLNORESUME runtime·sigpanic<ABIInternal>(SB)
    	End
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:26:51 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

    class CacheResponse(cacheDirectory: File) {
      private val client: OkHttpClient =
        OkHttpClient.Builder()
          .cache(
            Cache(
              directory = cacheDirectory,
              // 1 MiB.
              maxSize = 10L * 1024L * 1024L,
            ),
          )
          .build()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top