Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for Assignment (2.49 sec)

  1. clause/set.go

    	}
    	sort.Strings(keys)
    
    	assignments := make([]Assignment, len(keys))
    	for idx, key := range keys {
    		assignments[idx] = Assignment{Column: Column{Name: key}, Value: values[key]}
    	}
    	return assignments
    }
    
    func AssignmentColumns(values []string) Set {
    	assignments := make([]Assignment, len(values))
    	for idx, value := range values {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Nov 29 03:02:44 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  2. clause/set_test.go

    func TestAssignments(t *testing.T) {
    	set := clause.Assignments(map[string]interface{}{
    		"name": "jinzhu",
    		"age":  18,
    	})
    
    	assignments := []clause.Assignment(set)
    
    	sort.Slice(assignments, func(i, j int) bool {
    		return strings.Compare(assignments[i].Column.Name, assignments[j].Column.Name) > 0
    	})
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. callbacks/update.go

    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixNano()})
    						} else if field.AutoUpdateTime == schema.UnixMillisecond {
    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixMilli()})
    						} else if field.AutoUpdateTime == schema.UnixSecond {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. 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)
  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()
    									}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 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. android/guava/src/com/google/common/base/Ascii.java

       * processing or telecommunication systems, more especially switching devices "on" or "off." (If a
       * single "stop" control is required to interrupt or turn off ancillary devices, DC4 is the
       * preferred assignment.)
       *
       * @since 8.0
       */
      public static final byte DC1 = 17; // aka XON
    
      /**
       * Transmission On: Although originally defined as DC1, this ASCII control character is now better
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  8. 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():
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

    /**
     * API action for admin document management.
     * Provides RESTful API endpoints for bulk document operations in the Fess search engine.
     * Supports indexing multiple documents with automatic field validation and default value assignment.
     */
    public class ApiAdminDocumentsAction extends FessApiAdminAction {
    
        // ===================================================================================
        // Constant
        //
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/JobProcessTest.java

            assertFalse("Thread should not be started yet", thread.isAlive());
        }
    
        public void test_processAssignment() throws IOException {
            Process mockProcess = createMockProcess("assignment test");
            JobProcess jobProcess = new JobProcess(mockProcess);
    
            Process assignedProcess = jobProcess.getProcess();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top