Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,555 for happen (0.18 sec)

  1. src/internal/runtime/atomic/doc.go

    Unless otherwise noted, operations defined in this package are sequentially
    consistent across threads with respect to the values they manipulate. More
    specifically, operations that happen in a specific order on one thread,
    will always be observed to happen in exactly that order by another thread.
    */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 771 bytes
    - Viewed (0)
  2. tests/postgres_test.go

    	var result Yasuo
    	if err := DB.First(&result, "id = ?", yasuo.ID).Error; err != nil || yasuo.Name != "jinzhu" {
    		t.Errorf("No error should happen, but got %v", err)
    	}
    
    	if err := DB.Where("id = $1", yasuo.ID).First(&Yasuo{}).Error; err != nil || yasuo.Name != "jinzhu" {
    		t.Errorf("No error should happen, but got %v", err)
    	}
    
    	yasuo.Name = "jinzhu1"
    	if err := DB.Save(&yasuo).Error; err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/resource_operation_safety_analysis.h

    // enforce arbitrary ordering dependencies (via control or data edges) between
    // resource operations.  Since all resource reads happen before all resource
    // writes, edges constraining resource writes to happen before resource reads
    // are problematic.  This analysis returns the set of pairs of resource
    // operations that cannot be put in the same cluster because XLA cannot respect
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonStatusAndErrorReportingTest.groovy

            pid == null
        }
    
        def "PID unboxing should not happen in Status"() {
            given:
            Long unknownPID = null;
    
            when:
            def status = new Status(unknownPID, "", "");
    
            then:
            notThrown(NullPointerException)
            status.pid == null
        }
    
        def "PID unboxing should not happen in DaemonStopEvent"() {
            given:
            Long unknownPID = null;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/sync/waitgroup.go

    // If the counter goes negative, Add panics.
    //
    // Note that calls with a positive delta that occur when the counter is zero
    // must happen before a Wait. Calls with a negative delta, or calls with a
    // positive delta that start when the counter is greater than zero, may happen
    // at any time.
    // Typically this means the calls to Add should execute before the statement
    // creating the goroutine or other event to be waited for.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. pkg/volume/util/operationexecutor/node_expander.go

    	// For kubelet - resize operation could be assumed as finished even if
    	// actual resizing is *not* finished. This can happen, because certain prechecks
    	// are failing and kubelet should not retry expansion, or it could happen
    	// because resize operation is genuinely finished.
    	assumeResizeFinished bool
    }
    
    // runPreCheck performs some sanity checks before expansion can be performed on the PVC.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:30:35 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. cmd/bucket-policy.go

    	data, err := json.Marshal(bucketPolicy)
    	if err != nil {
    		// This should not happen because bucketPolicy is valid to convert to JSON data.
    		return nil, err
    	}
    
    	var policyInfo miniogopolicy.BucketAccessPolicy
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err = json.Unmarshal(data, &policyInfo); err != nil {
    		// This should not happen because data is valid to JSON data.
    		return nil, err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. pkg/test/util/assert/tracker.go

    	t.mu.Lock()
    	defer t.mu.Unlock()
    	t.events = append(t.events, event)
    }
    
    // Empty asserts the tracker is empty
    func (t *Tracker[T]) Empty() {
    	t.t.Helper()
    	t.mu.Lock()
    	defer t.mu.Unlock()
    	if len(t.events) != 0 {
    		t.t.Fatalf("unexpected events: %v", t.events)
    	}
    }
    
    // WaitOrdered waits for an event to happen, in order
    func (t *Tracker[T]) WaitOrdered(events ...T) {
    	t.t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. tests/embedded_struct_test.go

    		t.Errorf("no error should happen when query with embedded struct, but got %v", err)
    	} else if egNews.BasePost.Title != "engadget_news" {
    		t.Errorf("embedded struct's value should be scanned correctly")
    	}
    
    	var egPosts []EngadgetPost
    	if err := DB.Order("author_name asc").Find(&egPosts).Error; err != nil {
    		t.Fatalf("no error should happen when query with embedded struct, but got %v", err)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. pkg/proxy/nftables/README.md

        "input path".)
    
      - `LoadBalancerSourceRanges` firewalling has to happen before service DNAT, so we do
        that on `prerouting` and `output` as well, with a lower (i.e. more urgent) priority
        than the DNAT chains.
    
      - The `drop` and `reject` rules for services with no endpoints don't need to happen
        explicitly before or after any other rules (since they match packets that wouldn't be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 21 14:37:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top