Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 140 for Initialize (0.97 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      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,
        windows: Boolean,
      ) {
        this.cacheDir =
          if (baseFilesystem is FakeFileSystem) "/cache".toPath() else cacheDirFile.path.toPath()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    	ctx := r.Context()
    
    	// Get current object layer instance.
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.ExportIAMAction)
    	if objectAPI == nil {
    		return
    	}
    	// Initialize a zip writer which will provide a zipped content
    	// of bucket metadata
    	zipWriter := zip.NewWriter(w)
    	defer zipWriter.Close()
    	rawDataFn := func(r io.Reader, filename string, sz int) error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  3. okhttp/api/okhttp.api

    	public final fun directory ()Ljava/io/File;
    	public final fun directoryPath ()Lokio/Path;
    	public final fun evictAll ()V
    	public fun flush ()V
    	public final fun hitCount ()I
    	public final fun initialize ()V
    	public final fun isClosed ()Z
    	public static final fun key (Lokhttp3/HttpUrl;)Ljava/lang/String;
    	public final fun maxSize ()J
    	public final fun networkCount ()I
    	public final fun requestCount ()I
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  4. src/runtime/asm_amd64.s

    	MOVQ	runtime·lastmoduledatap(SB), AX
    	MOVQ	DI, moduledata_next(AX)
    	MOVQ	DI, runtime·lastmoduledatap(SB)
    	POPQ	R15
    	RET
    
    // Initialize special registers then jump to sigpanic.
    // This function is injected from the signal handler for panicking
    // signals. It is quite painful to set X15 in the signal context,
    // so we do it here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_client_test.go

    	}
    	stateBytes, err := state.Bytes()
    	if err != nil {
    		c.t.Error(err)
    		return
    	}
    	c.ticket, c.state = ticket, stateBytes
    }
    
    func TestLRUClientSessionCache(t *testing.T) {
    	// Initialize cache of capacity 4.
    	cache := NewLRUClientSessionCache(4)
    	cs := make([]ClientSessionState, 6)
    	keys := []string{"0", "1", "2", "3", "4", "5", "6"}
    
    	// Add 4 entries to the cache and look them up.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loader/loader.go

    }
    
    func (fi *FuncInfo) NumFile() uint32 {
    	if !fi.lengths.Initialized {
    		panic("need to call Preload first")
    	}
    	return fi.lengths.NumFile
    }
    
    func (fi *FuncInfo) File(k int) goobj.CUFileIndex {
    	if !fi.lengths.Initialized {
    		panic("need to call Preload first")
    	}
    	return (*goobj.FuncInfo)(nil).ReadFile(fi.data, fi.lengths.FileOff, uint32(k))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/lib.go

    		// This indicates a user requested -linkmode=external.
    		// The startup code uses an import of runtime/cgo to decide
    		// whether to initialize the TLS.  So give it one. This could
    		// be handled differently but it's an unusual case.
    		if lib := loadinternal(ctxt, "runtime/cgo"); lib != nil && lib.Shlib == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  8. pkg/proxy/winkernel/proxier.go

    	proxier.syncRunner.Loop(wait.NeverStop)
    }
    
    func (proxier *Proxier) setInitialized(value bool) {
    	var initialized int32
    	if value {
    		initialized = 1
    	}
    	atomic.StoreInt32(&proxier.initialized, initialized)
    }
    
    func (proxier *Proxier) isInitialized() bool {
    	return atomic.LoadInt32(&proxier.initialized) > 0
    }
    
    // OnServiceAdd is called whenever creation of new service object
    // is observed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  9. pkg/proxy/nftables/proxier.go

    	proxier.syncRunner.Loop(wait.NeverStop)
    }
    
    func (proxier *Proxier) setInitialized(value bool) {
    	var initialized int32
    	if value {
    		initialized = 1
    	}
    	atomic.StoreInt32(&proxier.initialized, initialized)
    }
    
    func (proxier *Proxier) isInitialized() bool {
    	return atomic.LoadInt32(&proxier.initialized) > 0
    }
    
    // OnServiceAdd is called whenever creation of new service object
    // is observed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  10. pkg/proxy/iptables/proxier.go

    	proxier.syncRunner.Loop(wait.NeverStop)
    }
    
    func (proxier *Proxier) setInitialized(value bool) {
    	var initialized int32
    	if value {
    		initialized = 1
    	}
    	atomic.StoreInt32(&proxier.initialized, initialized)
    }
    
    func (proxier *Proxier) isInitialized() bool {
    	return atomic.LoadInt32(&proxier.initialized) > 0
    }
    
    // OnServiceAdd is called whenever creation of new service object
    // is observed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
Back to top