Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for fslock (0.17 sec)

  1. src/database/sql/sql_test.go

    		db *DB
    		c  *driverConn
    	}
    	freedFrom := make(map[dbConn]string)
    	var mu sync.Mutex
    	getFreedFrom := func(c dbConn) string {
    		mu.Lock()
    		defer mu.Unlock()
    		return freedFrom[c]
    	}
    	setFreedFrom := func(c dbConn, s string) {
    		mu.Lock()
    		defer mu.Unlock()
    		freedFrom[c] = s
    	}
    	putConnHook = func(db *DB, c *driverConn) {
    		if slices.Contains(db.freeConn, c) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/garbagecollector_test.go

    func (f *fakeServerResources) ServerPreferredResources() ([]*metav1.APIResourceList, error) {
    	f.Lock.Lock()
    	defer f.Lock.Unlock()
    	f.InterfaceUsedCount++
    	return f.PreferredResources, f.Error
    }
    
    func (f *fakeServerResources) setPreferredResources(resources []*metav1.APIResourceList, err error) {
    	f.Lock.Lock()
    	defer f.Lock.Unlock()
    	f.PreferredResources = resources
    	f.Error = err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

                              << "\n");
    
      // Find any return ops.
      SmallVector<func::ReturnOp, 4> return_ops;
      for (Block& block : func) {
        if (auto return_op = dyn_cast<func::ReturnOp>(block.getTerminator())) {
          return_ops.push_back(return_op);
        }
      }
    
      // Skip functions without a return, but don't flag as failure here.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  4. src/reflect/all_test.go

    	defer func() {
    		panicErr = recover()
    
    		selectWatch.Lock()
    		selectWatch.info = nil
    		selectWatch.Unlock()
    	}()
    
    	selectWatch.Lock()
    	selectWatch.now = time.Now()
    	selectWatch.info = info
    	selectWatch.Unlock()
    
    	chosen, recv, recvOK = Select(cases)
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/exec.go

    	if cfg.BuildN {
    		sh.ShowCmd(b.WorkDir, "%s || true", joinUnambiguously(cmdArgs))
    		return false
    	}
    
    	// gccCompilerID acquires b.exec, so do before acquiring lock.
    	compilerID, cacheOK := b.gccCompilerID(compiler[0])
    
    	b.exec.Lock()
    	defer b.exec.Unlock()
    	if b, ok := b.flagCache[key]; ok {
    		return b
    	}
    	if b.flagCache == nil {
    		b.flagCache = make(map[[2]string]bool)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_control_test.go

    	}
    	if rt.parallelLock.TryLock() {
    		// lock acquired: we are the only or the first concurrent request
    		// initialize the next set of parallel requests
    		rt.parallelRequests = 1
    	} else {
    		// lock is held by other requests
    		// now wait for the lock to increase the parallelRequests
    		rt.parallelLock.Lock()
    		rt.parallelRequests++
    	}
    	defer rt.parallelLock.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/rsc.io/markdown/emoji.go

    	"unicorn":                              "\U0001f984",
    	"united_arab_emirates":                 "\U0001f1e6\U0001f1ea",
    	"united_nations":                       "\U0001f1fa\U0001f1f3",
    	"unlock":                               "\U0001f513",
    	"up":                                   "\U0001f199",
    	"upside_down_face":                     "\U0001f643",
    	"uruguay":                              "\U0001f1fa\U0001f1fe",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 107.7K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__certificates.k8s.io__v1_openapi.json

    3. Non-PEM content may appear before or after the \"CERTIFICATE\" PEM blocks and is unvalidated,\n  to allow for explanatory text as described in section 5.2 of RFC7468.\n\nIf more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.\n\nThe certificate is encoded in PEM format.\n\nWhen serialized...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 151.7K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/data.go

    				if !target.IsAMD64() {
    					o = r.Add()
    				}
    				break
    			}
    
    			if target.IsElf() && target.IsARM() {
    				// On ELF ARM, the thread pointer is 8 bytes before
    				// the start of the thread-local data block, so add 8
    				// to the actual TLS offset (r->sym->value).
    				// This 8 seems to be a fundamental constant of
    				// ELF on ARM (or maybe Glibc on ARM); it is not
    				// related to the fact that our own TLS storage happens
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_builder_test.go

    				proxy, cb.req.Push,
    				"outbound|8080|v1|foo.com",
    				model.TrafficDirectionOutbound, "v1", "foo.com", 8080,
    				service, dr,
    			)
    			eps := eb.FromServiceEndpoints()
    			mu.Lock()
    			actual = eps
    			mu.Unlock()
    			wg.Done()
    		}()
    	}
    	wg.Wait()
    	sortEndpoints(actual)
    	if v := cmp.Diff(expected, actual, protocmp.Transform()); v != "" {
    		t.Fatalf("Expected (-) != actual (+):\n%s", v)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
Back to top