Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 640 for Oplock (0.15 seconds)

  1. cmd/http-stats.go

    	if stats == nil {
    		return
    	}
    	stats.Lock()
    	defer stats.Unlock()
    	if stats.apiStats == nil {
    		stats.apiStats = make(map[string]int)
    	}
    	stats.apiStats[api]++
    }
    
    // Dec increments the api stats counter.
    func (stats *HTTPAPIStats) Dec(api string) {
    	if stats == nil {
    		return
    	}
    	stats.Lock()
    	defer stats.Unlock()
    	if val, ok := stats.apiStats[api]; ok && val > 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 11.4K bytes
    - Click Count (0)
  2. internal/bucket/bandwidth/measurement.go

    func (m *bucketMeasurement) updateExponentialMovingAverage(endTime time.Time) {
    	// Calculate aggregate avg bandwidth and exp window avg
    	m.lock.Lock()
    	defer func() {
    		m.startTime = endTime
    		m.lock.Unlock()
    	}()
    
    	if m.startTime.IsZero() {
    		return
    	}
    
    	if endTime.Before(m.startTime) {
    		return
    	}
    
    	duration := endTime.Sub(m.startTime)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Jun 03 20:41:51 GMT 2023
    - 2.9K bytes
    - Click Count (0)
  3. docs_src/app_testing/tutorial004_py310.py

        return items[item_id]
    
    
    def test_read_items():
        # Before the lifespan starts, "items" is still empty
        assert items == {}
    
        with TestClient(app) as client:
            # Inside the "with TestClient" block, the lifespan starts and items added
            assert items == {"foo": {"name": "Fighters"}, "bar": {"name": "Tenders"}}
    
            response = client.get("/items/foo")
            assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  4. internal/once/init.go

    // if it is not successful yet.
    func (l *Init) Do(f func() error) error {
    	if atomic.LoadUint32(&l.done) == 0 {
    		return l.do(f)
    	}
    	return nil
    }
    
    func (l *Init) do(f func() error) error {
    	l.m.Lock()
    	defer l.m.Unlock()
    	if atomic.LoadUint32(&l.done) == 0 {
    		if err := f(); err != nil {
    			return err
    		}
    		// Mark as done only when f() is successful
    		atomic.StoreUint32(&l.done, 1)
    	}
    	return nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 09 04:20:31 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  5. src/main/webapp/WEB-INF/view/searchResults.jsp

    						<div class="d-sm-none"></div>
    						<span class="d-none d-sm-inline-block">&nbsp;</span>
    						<la:message key="labels.search_result_size"
    							arg0="${fe:formatFileSize(doc.content_length)}" />
    					</c:if>
    					<c:if test="${searchLogSupport && doc.click_count!=null && doc.click_count>0}">
    						<div class="d-sm-none"></div>
    						<span class="d-none d-sm-inline-block">&nbsp;</span>
    						<la:message key="labels.search_click_views"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  6. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_wrong_lang_code_2.md

    # Code blocks { #code-blocks }
    
    Some text
    
    ```python
    # This is a sample Python code block
    def hello_world():
        # Comment with indentation
        print("Hello, world!")  # Print greeting
    ```
    
    Some more text
    
    The following block has wrong language code (should be TOML):
    
    ```
    # This is a sample TOML code block
    title = "TOML Example"  # Title of the document
    ```
    
    And more text
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 942 bytes
    - Click Count (0)
  7. internal/pubsub/pubsub_test.go

    		t.Fatalf("unexpected error: %v", err)
    	}
    	if err := ps.Subscribe(MaskAll, ch2, doneCh, nil); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	ps.Lock()
    	defer ps.Unlock()
    
    	if len(ps.subs) != 2 || ps.NumSubscribers(MaskAll) != 2 || ps.Subscribers() != 2 {
    		t.Fatalf("expected 2 subscribers")
    	}
    }
    
    func TestNumSubscribersMask(t *testing.T) {
    	ps := New[Maskable, Mask](2)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Aug 14 17:11:51 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  8. docs/en/docs/css/custom.css

    a[data-external-link]:not(:has(img)):not(.no-link-icon):not(.announce-link) {
      /* For right to left languages */
      direction: ltr;
      display: inline-block;
    }
    
    a[data-external-link]:not(:has(img)):not(.no-link-icon):not(.announce-link)::after {
      content: "";
      display: inline-block;
      width: 0.75em;
      height: 0.75em;
      margin-left: 0.25em;
      vertical-align: middle;
      opacity: 0.55;
      background: currentColor;
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:56:46 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  9. internal/event/targetlist.go

    	list.statLock.Lock()
    	defer list.statLock.Unlock()
    
    	stats, ok := list.targetStats[id]
    	if !ok {
    		// should not happen
    		return
    	}
    
    	stats.currentSendCalls--
    	list.targetStats[id] = stats
    }
    
    func (list *TargetList) incFailedEvents(id TargetID) {
    	list.statLock.Lock()
    	defer list.statLock.Unlock()
    
    	stats, ok := list.targetStats[id]
    	if !ok {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/orig/view/searchResults.jsp

    						<div class="d-sm-none"></div>
    						<span class="d-none d-sm-inline-block">&nbsp;</span>
    						<la:message key="labels.search_result_size"
    							arg0="${fe:formatFileSize(doc.content_length)}" />
    					</c:if>
    					<c:if test="${searchLogSupport && doc.click_count!=null && doc.click_count>0}">
    						<div class="d-sm-none"></div>
    						<span class="d-none d-sm-inline-block">&nbsp;</span>
    						<la:message key="labels.search_click_views"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 12.2K bytes
    - Click Count (1)
Back to Top