Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 121 for assignments (0.16 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. doc/go_spec.html

    IncDec statement    Assignment
    x++                 x += 1
    x--                 x -= 1
    </pre>
    
    
    <h3 id="Assignment_statements">Assignment statements</h3>
    
    <p>
    An <i>assignment</i> replaces the current value stored in a <a href="#Variables">variable</a>
    with a new value specified by an <a href="#Expressions">expression</a>.
    An assignment statement may assign a single value to a single variable, or multiple values to a
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  2. tests/upsert_test.go

    	}
    
    	lang3 := Language{Code: "upsert", Name: "Upsert"}
    	if err := DB.Clauses(clause.OnConflict{
    		Columns:   []clause.Column{{Name: "code"}},
    		DoUpdates: clause.Assignments(map[string]interface{}{"name": "upsert-new"}),
    	}).Create(&lang3).Error; err != nil {
    		t.Fatalf("failed to upsert, got %v", err)
    	}
    
    	if err := DB.Find(&langs, "code = ?", lang.Code).Error; err != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 29 11:06:13 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.20.md

    - Certain fields on  Service objects will be automatically cleared when changing the service's `type` to a mode that does not need those fields.  For example, changing from type=LoadBalancer to type=ClusterIP will clear the NodePort assignments, rather than forcing the user to clear them. ([#95196](https://github.com/kubernetes/kubernetes/pull/95196), [@thockin](https://github.com/thockin)) [SIG API Machinery, Apps, Network and Testing]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jan 19 21:05:45 GMT 2022
    - 409K bytes
    - Click Count (0)
  4. CHANGELOG/CHANGELOG-1.24.md

    Kubernetes 1.24 introduced a new opt-in feature that allows you to
    [soft-reserve a range for static IP address assignments](https://kubernetes.io/docs/concepts/services-networking/service/#service-ip-static-sub-range)
    to Services.
    With the manual enablement of this feature, the cluster will prefer automatic assignment from
    the pool of Service IP addresses thereby reducing the risk of collision.
    
    A Service `ClusterIP` can be assigned:
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Aug 24 00:02:43 GMT 2023
    - 473.4K bytes
    - Click Count (0)
  5. callbacks/create.go

    								if field.AutoUpdateTime > 0 {
    									assignment := clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: curTime}
    									switch field.AutoUpdateTime {
    									case schema.UnixNanosecond:
    										assignment.Value = curTime.UnixNano()
    									case schema.UnixMillisecond:
    										assignment.Value = curTime.UnixMilli()
    									case schema.UnixSecond:
    										assignment.Value = curTime.Unix()
    									}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 29 11:06:13 GMT 2025
    - 13K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

        }
    
        // Test field assignment
        @Test
        public void test_fieldAssignment() {
            String[] fields = new String[] { "field1", "field2", "field3" };
            facetInfo.field = fields;
            assertNotNull(facetInfo.field);
            assertEquals(3, facetInfo.field.length);
            assertSame(fields, facetInfo.field);
        }
    
        // Test size assignment
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

            // Direct field assignment
            item.id = 999L;
    
            // Verify through getter
            assertEquals(999L, item.getId());
    
            // Verify direct field access
            assertEquals(999L, item.id);
        }
    
        @Test
        public void test_sequentialIdAssignment() {
            // Test sequential ID assignment pattern
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. tests/association_generics_test.go

    	}
    
    	// Test Set + Create with belongs-to association using field assignment
    	err := gorm.G[User](DB).Set(
    		clause.Assignment{Column: clause.Column{Name: "name"}, Value: "TestClauseAssociationSetCreateWithBelongsTo"},
    		clause.Assignment{Column: clause.Column{Name: "age"}, Value: 25},
    		clause.Assignment{Column: clause.Column{Name: "company_id"}, Value: company.ID},
    	).Create(ctx)
    	if err != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 37.9K bytes
    - Click Count (0)
  9. fastapi/encoders.py

        if include is not None and not isinstance(include, (set, dict)):
            include = set(include)  # type: ignore[assignment]  # ty: ignore[unused-ignore-comment]
        if exclude is not None and not isinstance(exclude, (set, dict)):
            exclude = set(exclude)  # type: ignore[assignment]  # ty: ignore[unused-ignore-comment]
        if isinstance(obj, BaseModel):
            obj_dict = obj.model_dump(
                mode="json",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * SES.schedule is called. Therefore Fire.run has to check for null. However, it should be visible
       * if Fire.run is called by delegate.addListener since addListener is called after the assignment
       * to timer, and importantly this is the main situation in which we need to be able to see the
       * write.
       *
       * 2. visibility of the writes to an afterDone() call triggered by cancel():
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8K bytes
    - Click Count (0)
Back to Top