Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for assignments (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

        public static class AzureAdUser implements FessUser {
            private static final long serialVersionUID = 1L;
    
            /** User's group memberships. */
            protected String[] groups;
    
            /** User's role assignments. */
            protected String[] roles;
    
            /** User's computed permissions. */
            protected String[] permissions;
    
            /** Azure AD authentication result. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/rpcTest.java

                assertEquals((short) 0, unicodeString.maximum_length);
                assertNull(unicodeString.buffer);
            }
    
            @Test
            @DisplayName("Should handle basic unicode string field assignments")
            void testUnicodeStringBasicFields() {
                // Given: A unicode string
                rpc.unicode_string unicodeString = new rpc.unicode_string();
    
                // When: Setting values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. 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 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. tests/generics_test.go

    	}
    
    	lang3 := Language{Code: "upsert", Name: "Upsert"}
    	if err := gorm.G[Language](DB, clause.OnConflict{
    		Columns:   []clause.Column{{Name: "code"}},
    		DoUpdates: clause.Assignments(map[string]interface{}{"name": "upsert-new"}),
    	}).Create(ctx, &lang3); err != nil {
    		t.Fatalf("failed to upsert, got %v", err)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

        }
    
        // Test field assignment
        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
        public void test_sizeAssignment() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. 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);
        }
    
        public void test_sequentialIdAssignment() {
            // Test sequential ID assignment pattern
            TestDictionaryItem[] items = new TestDictionaryItem[5];
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. 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()
    									}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/extra-models.md

    If it was in a type annotation we could have used the vertical bar, as:
    
    ```Python
    some_variable: PlaneItem | CarItem
    ```
    
    But if we put that in the assignment `response_model=PlaneItem | CarItem` we would get an error, because Python would try to perform an **invalid operation** between `PlaneItem` and `CarItem` instead of interpreting that as a type annotation.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

              () -> {
                lock.lock();
                try {
                  startUp();
                  /*
                   * requireNonNull is safe because executorService is never cleared after the
                   * assignment above.
                   */
                  requireNonNull(executorService);
                  runningTask = scheduler().schedule(delegate, executorService, task);
                  notifyStarted();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMaker.java

       * Guides the allowed concurrency among update operations. Used as a hint for internal sizing. The
       * table is internally partitioned to try to permit the indicated number of concurrent updates
       * without contention. Because assignment of entries to these partitions is not necessarily
       * uniform, the actual concurrency observed may vary. Ideally, you should choose a value to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top