Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 209 for uniques (0.21 sec)

  1. 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)
  2. 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)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          int uniques = 1;
          for (int i = 1; i < sortedElements.length; i++) {
            if (comparator.compare(sortedElements[uniques - 1], sortedElements[i]) < 0) {
              sortedElements[uniques] = sortedElements[i];
              uniques++;
            }
          }
          Arrays.fill(sortedElements, uniques, length, null);
          if (maybeExpand && uniques * 4 > length * 3) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        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);
        if (uniques < contents.length / 2) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/archive/tar/writer_test.go

    )
    
    func bytediff(a, b []byte) string {
    	const (
    		uniqueA  = "-  "
    		uniqueB  = "+  "
    		identity = "   "
    	)
    	var ss []string
    	sa := strings.Split(strings.TrimSpace(hex.Dump(a)), "\n")
    	sb := strings.Split(strings.TrimSpace(hex.Dump(b)), "\n")
    	for len(sa) > 0 && len(sb) > 0 {
    		if sa[0] == sb[0] {
    			ss = append(ss, identity+sa[0])
    		} else {
    			ss = append(ss, uniqueA+sa[0])
    			ss = append(ss, uniqueB+sb[0])
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  10. 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)
Back to top