Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Lock (0.21 sec)

  1. tensorflow/c/c_api.cc

    bool ExtendSessionGraphHelper(TF_Session* session, TF_Status* status) {
      if (session->graph != nullptr) {
        // Take the graph lock before the session lock to avoid deadlock. This is
        // safe since session->graph does not change.
        session->graph->mu.lock();
        mutex_lock session_lock(session->mu);
        const Graph& graph = session->graph->graph;
    
        const string& mutation_warning = session->graph->sessions[session];
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	}
    
    	// Compare only necessary headers
    	compareKeys := []string{
    		"Expires",
    		"Cache-Control",
    		"Content-Language",
    		"Content-Disposition",
    		"X-Amz-Object-Lock-Mode",
    		"X-Amz-Object-Lock-Retain-Until-Date",
    		"X-Amz-Object-Lock-Legal-Hold",
    		"X-Amz-Website-Redirect-Location",
    		"X-Amz-Meta-",
    	}
    
    	// compare metadata on both maps to see if meta is identical
    	compareMeta1 := make(map[string]string)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  3. guava/src/com/google/common/cache/LocalCache.java

       * of reads may not be immediately reflected on the algorithm's data structures. These structures
       * are guarded by a lock and operations are applied in batches to avoid lock contention. The
       * penalty of applying the batches is spread across threads so that the amortized cost is slightly
       * higher than performing just the operation without enforcing the capacity constraint.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

       * of reads may not be immediately reflected on the algorithm's data structures. These structures
       * are guarded by a lock and operations are applied in batches to avoid lock contention. The
       * penalty of applying the batches is spread across threads so that the amortized cost is slightly
       * higher than performing just the operation without enforcing the capacity constraint.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    }
    
    func (c *SiteReplicationSys) loadFromDisk(ctx context.Context, objAPI ObjectLayer) error {
    	buf, err := readConfig(ctx, objAPI, getSRStateFilePath())
    	if err != nil {
    		if errors.Is(err, errConfigNotFound) {
    			c.Lock()
    			defer c.Unlock()
    			c.state = srState{}
    			c.enabled = false
    		}
    		return err
    	}
    
    	// attempt to read just the version key in the state file to ensure we
    	// are reading a compatible version.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  6. cmd/object-handlers.go

    		return
    	}
    
    	// Take read lock on object, here so subsequent lower-level
    	// calls do not need to.
    	lock := objectAPI.NewNSLock(bucket, object)
    	lkctx, err := lock.GetRLock(ctx, globalOperationTimeout)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	ctx = lkctx.Context()
    	defer lock.RUnlock(lkctx)
    
    	getObjectNInfo := objectAPI.GetObjectNInfo
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/callback.go

    	// callback(x) calls goCallback(x)
    	callbackMutex.Lock()
    	callbackToken++
    	i := callbackToken
    	callbackFuncs[i] = f
    	callbackMutex.Unlock()
    
    	// Pass the address of i because the C function was written to
    	// take a pointer.  We could pass an int if we felt like
    	// rewriting the C code.
    	C.callback(unsafe.Pointer(&i))
    
    	callbackMutex.Lock()
    	delete(callbackFuncs, i)
    	callbackMutex.Unlock()
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.jar

    pository.exception.ComponentLifecycleEx; } org/codehaus/plexus/component/manager/ClassicSingletonComp.class package org.codehaus.plexus.component.manager; public synchronized class ClassicSingletonComp extends AbstractComponentMan { private Object lock; private java.util.Map singletonMap; public void ClassicSingletonComp(); public void release(Object) throws org.codehaus.plexus.component.repository.exception.ComponentLifecycleEx; public void dispose() throws org.codehaus.plexus.component.reposit...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 205.7K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.jar

    pository.exception.ComponentLifecycleEx; } org/codehaus/plexus/component/manager/ClassicSingletonComp.class package org.codehaus.plexus.component.manager; public synchronized class ClassicSingletonComp extends AbstractComponentMan { private Object lock; private java.util.Map singletonMap; public void ClassicSingletonComp(); public void release(Object) throws org.codehaus.plexus.component.repository.exception.ComponentLifecycleEx; public void dispose() throws org.codehaus.plexus.component.reposit...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 233.3K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.jar

    pository.exception.ComponentLifecycleEx; } org/codehaus/plexus/component/manager/ClassicSingletonComp.class package org.codehaus.plexus.component.manager; public synchronized class ClassicSingletonComp extends AbstractComponentMan { private Object lock; private java.util.Map singletonMap; public void ClassicSingletonComp(); public void release(Object) throws org.codehaus.plexus.component.repository.exception.ComponentLifecycleEx; public void dispose() throws org.codehaus.plexus.component.reposit...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 233.3K bytes
    - Viewed (0)
Back to top