Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for muted (0.18 sec)

  1. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        final Table<R, C, V> delegate = HashBasedTable.create();
        public final Object mutex = new Integer(1); // something Serializable
    
        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toString();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.equals(o);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/admin-heal-ops.go

    	var count int64
    	h.mutex.RLock()
    	defer h.mutex.RUnlock()
    
    	for _, v := range h.scannedItemsMap {
    		count += v
    	}
    	return count
    }
    
    // getScannedItemsMap - returns map of all scanned items against type
    func (h *healSequence) getScannedItemsMap() map[madmin.HealItemType]int64 {
    	h.mutex.RLock()
    	defer h.mutex.RUnlock()
    
    	// Make a copy before returning the value
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/collect/Synchronized.java

      private Synchronized() {}
    
      static class SynchronizedObject implements Serializable {
        final Object delegate;
        final Object mutex;
    
        SynchronizedObject(Object delegate, @CheckForNull Object mutex) {
          this.delegate = checkNotNull(delegate);
          this.mutex = (mutex == null) ? this : mutex;
        }
    
        Object delegate() {
          return delegate;
        }
    
        // No equals and hashCode; see ForwardingObject for details.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        final Table<R, C, V> delegate = HashBasedTable.create();
        public final Object mutex = new Integer(1); // something Serializable
    
        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toString();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.equals(o);
        }
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      TFE_Context* context_ TF_GUARDED_BY(execution_mutex_);
      const char* operation_name_ TF_GUARDED_BY(execution_mutex_);
      absl::optional<int64_t> step_id_ TF_GUARDED_BY(execution_mutex_) =
          absl::nullopt;
      std::vector<TFE_TensorHandle*> op_inputs_ TF_GUARDED_BY(execution_mutex_);
      const TFE_OpAttrs* attributes_ TF_GUARDED_BY(execution_mutex_);
      int expected_max_outputs_ TF_GUARDED_BY(execution_mutex_);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  6. cmd/local-locker.go

    				return true, nil
    			}
    		}
    	}
    }
    
    // Similar to removeEntry but only removes an entry only if the lock entry exists in map.
    // Caller must hold 'l.mutex' lock.
    func (l *localLocker) expireOldLocks(interval time.Duration) {
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    
    	for k, lris := range l.lockMap {
    		modified := false
    		for i := 0; i < len(lris); {
    			lri := &lris[i]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. internal/dsync/drwmutex.go

    	writeLocks           []string // Array of nodes that granted a write lock
    	readLocks            []string // Array of array of nodes that granted reader locks
    	rng                  *rand.Rand
    	m                    sync.Mutex // Mutex to prevent multiple simultaneous locks from this node
    	clnt                 *Dsync
    	cancelRefresh        context.CancelFunc
    	refreshInterval      time.Duration
    	lockRetryMinInterval time.Duration
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_internal.h

    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/graph/graph.h"
    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/platform/mutex.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/platform/types.h"
    #include "tensorflow/core/public/session.h"
    
    namespace tensorflow {
    class Device;
    class DeviceMgr;
    class ServerInterface;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue1435.go

    //   t = calloc(nts, sizeof(pthread_t));
    //   pthread_mutex_init(&mu, NULL);
    //   for (i = 0; i < nts; i++) {
    //     pthread_create(&t[i], NULL, aFn, NULL);
    //   }
    // }
    //
    // void cleanup(void) {
    //   int i;
    //   pthread_mutex_lock(&mu);
    //   all_done = 1;
    //   pthread_mutex_unlock(&mu);
    //   for (i = 0; i < nts; i++) {
    //     pthread_join(t[i], NULL);
    //   }
    //   pthread_mutex_destroy(&mu);
    //   free(t);
    // }
    import "C"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.cc

      GraphDef def;
      {
        mutex_lock l(graph->mu);
        graph->graph.ToGraphDef(&def);
      }
      status->status = MessageToBuffer(def, output_graph_def);
    }
    
    void TF_GraphGetOpDef(TF_Graph* graph, const char* op_name,
                          TF_Buffer* output_op_def, TF_Status* status) {
      const OpDef* op_def;
      {
        mutex_lock l(graph->mu);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top