Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 400 for uniqueBy (0.2 sec)

  1. src/main/java/org/codelibs/fess/helper/JobHelper.java

                            op -> op.uniqueBy(id).changeNoticeLogToDebug().params(paramsOp));
                } else {
                    logger.info("Inactive Job {}:{}", id, scheduledJob.getName());
                    cron.registerNonCron(fessConfig.getSchedulerJobClassAsClass(), fessConfig.getSchedulerConcurrentExecModeAsEnum(),
                            op -> op.uniqueBy(id).changeNoticeLogToDebug().params(paramsOp));
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. doc/next/6-stdlib/2-unique.md

    ### New unique package
    
    The new [unique](/pkg/unique) package provides facilities for
    canonicalizing values (like "interning" or "hash-consing").
    
    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  3. tests/test_generate_unique_id_function.py

    def test_app_path_operation_overrides_generate_unique_id():
        app = FastAPI(generate_unique_id_function=custom_generate_unique_id)
        router = APIRouter(generate_unique_id_function=custom_generate_unique_id2)
    
        @app.post(
            "/",
            response_model=List[Item],
            responses={404: {"model": List[Message]}},
            generate_unique_id_function=custom_generate_unique_id3,
        )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  4. schema/constraint.go

    	return "CONSTRAINT ? UNIQUE (?)", []interface{}{clause.Column{Name: uni.Name}, clause.Column{Name: uni.Field.DBName}}
    }
    
    // ParseUniqueConstraints parse schema unique constraints
    func (schema *Schema) ParseUniqueConstraints() map[string]UniqueConstraint {
    	uniques := make(map[string]UniqueConstraint)
    	for _, field := range schema.Fields {
    		if field.Unique {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 07:33:54 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. schema/constraint_test.go

    	type UserUnique struct {
    		Name1 string `gorm:"unique"`
    		Name2 string `gorm:"uniqueIndex"`
    	}
    
    	user, err := schema.Parse(&UserUnique{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse user unique, got error %v", err)
    	}
    	constraints := user.ParseUniqueConstraints()
    
    	results := map[string]schema.UniqueConstraint{
    		"uni_user_uniques_name1": {
    			Name:  "uni_user_uniques_name1",
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

        checkElementsNotNull(contents, n);
        Arrays.sort(contents, 0, n, comparator);
        int uniques = 1;
        for (int i = 1; i < n; i++) {
          E cur = contents[i];
          E prev = contents[uniques - 1];
          if (comparator.compare(cur, prev) != 0) {
            contents[uniques++] = cur;
          }
        }
        Arrays.fill(contents, uniques, n, null);
        return new RegularImmutableSortedSet<>(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/authentication/v1/generated.proto

    }
    
    // UserInfo holds the information about the user needed to implement the
    // user.Info interface.
    message UserInfo {
      // The name that uniquely identifies this user among all active users.
      // +optional
      optional string username = 1;
    
      // A unique value that identifies this user across time. If this user is
      // deleted and another user by the same name is added, they will have
      // different UIDs.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSet.java

              // Came to an empty slot. Put the element here.
              elements[uniques++] = element;
              table[index] = element;
              hashCode += hash;
              break;
            } else if (value.equals(element)) {
              break;
            }
          }
        }
        Arrays.fill(elements, uniques, n, null);
        if (uniques == 1) {
          // There is only one element or elements are all duplicates
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/authentication/v1beta1/generated.proto

    }
    
    // UserInfo holds the information about the user needed to implement the
    // user.Info interface.
    message UserInfo {
      // The name that uniquely identifies this user among all active users.
      // +optional
      optional string username = 1;
    
      // A unique value that identifies this user across time. If this user is
      // deleted and another user by the same name is added, they will have
      // different UIDs.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Vous devez vous assurer qu'il est unique pour chaque opération.
    
    ```Python hl_lines="6"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top