Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 156 for mute (3.24 sec)

  1. 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)
  2. tensorflow/c/env_test.cc

      ASSERT_GE(TF_NowNanos(), 946684800 * 1e9);
    }
    
    namespace {
    
    struct SomeThreadData {
      ::tensorflow::mutex mu;
      bool did_work = false;
    };
    
    void SomeThreadFunc(void* data) {
      auto* real_data = static_cast<SomeThreadData*>(data);
      ::tensorflow::mutex_lock l(real_data->mu);
      real_data->did_work = true;
    }
    
    }  // namespace
    
    TEST(TestEnv, TestThreads) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

        HashSet<String> mut =
            Sets.symmetricDifference(friends, enemies).copyInto(new HashSet<String>());
    
        enemies.add("Dave");
        assertEquals(3, symmetricDifferenceFriendsFirst.size());
        assertEquals(4, immut.size());
        assertEquals(4, mut.size());
    
        immut = Sets.symmetricDifference(enemies, friends).immutableCopy();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental.cc

      return nullptr;
    #else
      TF_Library* lib_handle = new TF_Library;
      static tensorflow::mutex mu(tensorflow::LINKER_INITIALIZED);
      static std::unordered_map<std::string, void*>* loaded_libs =
          new std::unordered_map<std::string, void*>();
      tensorflow::Env* env = tensorflow::Env::Default();
      {
        tensorflow::mutex_lock lock(mu);
        auto it = loaded_libs->find(library_filename);
        if (it != loaded_libs->end()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  5. src/main/resources/fess_indices/fess/cs/stopwords.txt

    a
    s
    k
    o
    i
    u
    v
    z
    dnes
    cz
    tímto
    budeš
    budem
    byli
    jseš
    můj
    svým
    ta
    tomto
    tohle
    tuto
    tyto
    jej
    zda
    proč
    máte
    tato
    kam
    tohoto
    kdo
    kteří
    mi
    nám
    tom
    tomuto
    mít
    nic
    proto
    kterou
    byla
    toho
    protože
    asi
    ho
    naši
    napište
    re
    což
    tím
    takže
    svých
    její
    svými
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Jul 19 06:31:02 GMT 2018
    - 992 bytes
    - Viewed (0)
  6. src/main/webapp/css/admin/style.css

    .top10 {
    	margin-top: 1.0em;
    }
    
    .top15 {
    	margin-top: 1.5em;
    }
    
    .top20 {
    	margin-top: 2.0em;
    }
    
    .top25 {
    	margin-top: 2.5em;
    }
    
    .top30 {
    	margin-top: 3.0em;
    }
    
    .container .text-muted {
    	margin: 20px 0;
    }
    
    .notification {
    	text-align: center;
    }
    
    ul.has-error {
    	color: #dd4b39 !important;
    	list-style-type: none;
    	padding: 0;
    }
    
    .form-group .has-error + .form-control {
    CSS
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 07:47:04 GMT 2020
    - 1.1K bytes
    - Viewed (0)
  7. cmd/untar.go

    	prefixAll  string
    }
    
    // disconnectReader will ensure that no reads can take place on
    // the upstream reader after close has been called.
    type disconnectReader struct {
    	r  io.Reader
    	mu sync.Mutex
    }
    
    func (d *disconnectReader) Read(p []byte) (n int, err error) {
    	d.mu.Lock()
    	defer d.mu.Unlock()
    	if d.r != nil {
    		return d.r.Read(p)
    	}
    	return 0, errors.New("reader closed")
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. internal/dsync/locked_rand.go

    package dsync
    
    import (
    	"math/rand"
    	"sync"
    )
    
    // lockedRandSource provides protected rand source, implements rand.Source interface.
    type lockedRandSource struct {
    	lk  sync.Mutex
    	src rand.Source
    }
    
    // Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *lockedRandSource) Int63() (n int64) {
    	r.lk.Lock()
    	n = r.src.Int63()
    	r.lk.Unlock()
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Oct 18 15:39:59 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  9. doc/go_mem.html

        or a <i>synchronizing operation</i> such as an atomic data access,
    	a mutex operation, or a channel operation,</li>
    	<li>its location in the program,</li>
    	<li>the memory location or variable being accessed, and</li>
    	<li>the values read or written by the operation.</li>
    </ul>
    <p>
    Some memory operations are <i>read-like</i>, including read, atomic read, mutex lock, and channel receive.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  10. cmd/lock-rest-server-common_test.go

    		t.Fatal(err)
    	}
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("unable initialize config file, %s", err)
    	}
    
    	locker := &lockRESTServer{
    		ll: &localLocker{
    			mutex:   sync.Mutex{},
    			lockMap: make(map[string][]lockRequesterInfo),
    		},
    	}
    	creds := globalActiveCred
    	token, err := authenticateNode(creds.AccessKey, creds.SecretKey, "")
    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 23 17:26:21 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top