Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,644 for defaultCC (0.07 sec)

  1. docs_src/sql_databases/tutorial001_an.py

    from sqlmodel import Field, Session, SQLModel, create_engine, select
    from typing_extensions import Annotated
    
    
    class Hero(SQLModel, table=True):
        id: Union[int, None] = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: Union[int, None] = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    connect_args = {"check_same_thread": False}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. internal/once/singleton.go

    func (s *Singleton[T]) GetNonBlocking() *T {
    	select {
    	case <-s.set:
    		return s.v
    	default:
    		return nil
    	}
    }
    
    // IsSet will return whether the singleton has been set.
    func (s *Singleton[T]) IsSet() bool {
    	select {
    	case <-s.set:
    		return true
    	default:
    		return false
    	}
    }
    
    // Set the value and unblock all Get requests.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 952 bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        // Well-formed strings with bad default ports.
        checkFromStringCase("gmail.com:81", -1, "gmail.com", 81, true);
        checkFromStringCase("192.0.2.2:83", -1, "192.0.2.2", 83, true);
        checkFromStringCase("[2001::2]:85", -1, "2001::2", 85, true);
        checkFromStringCase("goo.gl:65535", 65536, "goo.gl", 65535, true);
        // No port, bad default.
        checkFromStringCase("google.com", -1, "google.com", -1, false);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. cmd/admin-handler-utils.go

    		cred, adminAPIErr := checkAdminRequestAuth(ctx, r, action, "")
    		switch adminAPIErr {
    		case ErrNone:
    			return objectAPI, cred
    		case ErrAccessDenied:
    			// Try another
    			continue
    		default:
    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(adminAPIErr), r.URL)
    			return nil, cred
    		}
    	}
    	writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL)
    	return nil, auth.Credentials{}
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. internal/bucket/object/lock/lock.go

    	if retention.Days != nil {
    		if *retention.Days == 0 {
    			return fmt.Errorf("Default retention period must be a positive integer value for 'Days'")
    		}
    		if *retention.Days > maximumRetentionDays {
    			return fmt.Errorf("Default retention period too large for 'Days' %d", *retention.Days)
    		}
    	} else if *retention.Years == 0 {
    		return fmt.Errorf("Default retention period must be a positive integer value for 'Years'")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java

        List<Exception> getExceptions();
    
        @Nonnull
        List<Version> getVersions();
    
        @Nonnull
        default Optional<Version> getLowerVersion() {
            return getVersions().isEmpty()
                    ? Optional.empty()
                    : Optional.of(getVersions().get(0));
        }
    
        @Nonnull
        default Optional<Version> getHigherVersion() {
            return getVersions().isEmpty()
                    ? Optional.empty()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingQueue.java

     * override {@code offer} as well, either providing your own implementation, or delegating to the
     * provided {@code standardOffer} method.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingQueue}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingSet.java

     * override {@code addAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardAddAll} method.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingSet}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  9. src/packaging/common/scripts/preinst

    #   On RedHat,
    #       $1=1       : indicates an new install
    #       $1=2       : indicates an upgrade
    
    
    
    # Sets the default values for fess variables used in this script
    FESS_USER="${packaging.fess.user}"
    FESS_GROUP="${packaging.fess.group}"
    FESS_USER_HOME="${packaging.fess.var.dir}"
    
    # Source the default env file
    FESS_ENV_FILE="${packaging.env.file}"
    if [ -f "$FESS_ENV_FILE" ]; then
        . "$FESS_ENV_FILE"
    fi
    
    case "$1" in
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 01 09:48:15 UTC 2016
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

        }
    
        protected static String[] getDefaultGroupsAsArray() {
            final String value = ComponentUtil.getFessConfig().getSystemProperty("oic.default.groups");
            if (StringUtil.isBlank(value)) {
                return StringUtil.EMPTY_STRINGS;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top