Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 4,180 for asString (0.05 seconds)

  1. tests/default_value_test.go

    import (
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    )
    
    func TestDefaultValue(t *testing.T) {
    	type Harumph struct {
    		gorm.Model
    		Email   string    `gorm:"not null;index:,unique"`
    		Name    string    `gorm:"notNull;default:foo"`
    		Name2   string    `gorm:"size:233;not null;default:'foo'"`
    		Name3   string    `gorm:"size:233;notNull;default:''"`
    		Age     int       `gorm:"default:18"`
    		Created time.Time `gorm:"default:2000-01-02"`
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. cmd/storage-rest-client.go

    func (client *storageRESTClient) ReadXL(ctx context.Context, volume string, path string, readData bool) (rf RawFileInfo, err error) {
    	ctx, cancel := context.WithTimeout(ctx, globalDriveConfig.GetMaxTimeout())
    	defer cancel()
    
    	// Use websocket when not reading data.
    	if !readData {
    		resp, err := storageReadXLRPC.Call(ctx, client.gridConn, grid.NewMSSWith(map[string]string{
    			storageRESTDiskID:   *client.diskID.Load(),
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  3. tests/test_generate_unique_id_function.py

                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
                }
            },
        }
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 66.7K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

            // ======================
            String ALL = "all";
            String EACH = "each";
            String BUILD = "build";
            String INITIALIZE = "initialize";
            String VALIDATE = "validate";
            String SOURCES = "sources";
            String RESOURCES = "resources";
            String COMPILE = "compile";
            String READY = "ready";
            String PACKAGE = "package";
            String VERIFY = "verify";
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

        }
    
        @Override
        public String pathOf(Artifact artifact) {
            return layout.pathOf(artifact);
        }
    
        @Override
        public String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata) {
            return layout.pathOfRemoteRepositoryMetadata(artifactMetadata);
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

    @Singleton
    public class DefaultLifecycles {
        public static final String[] STANDARD_LIFECYCLES = {"clean", "default", "site"};
    
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        // @Configuration(source="org/apache/maven/lifecycle/lifecycles.xml")
    
        private final Lookup lookup;
    
        private final LifecycleRegistry registry;
    
        private Map<String, Lifecycle> customLifecycles;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. cmd/utils.go

    }
    
    // AuditLogOptions takes options for audit logging subsystem activity
    type AuditLogOptions struct {
    	Event     string
    	APIName   string
    	Status    string
    	Bucket    string
    	Object    string
    	VersionID string
    	Error     string
    	Tags      map[string]string
    }
    
    // sends audit logs for internal subsystem activity
    func auditLogInternal(ctx context.Context, opts AuditLogOptions) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  8. internal/bucket/object/lock/lock.go

    func FilterObjectLockMetadata(metadata map[string]string, filterRetention, filterLegalHold bool) map[string]string {
    	// Copy on write
    	dst := metadata
    	var copied bool
    	delKey := func(key string) {
    		key = strings.ToLower(key)
    		if _, ok := metadata[key]; !ok {
    			return
    		}
    		if !copied {
    			dst = make(map[string]string, len(metadata))
    			maps.Copy(dst, metadata)
    			copied = true
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  9. cmd/kms-handlers_test.go

    	userSecretKey = "miniofakeusersecret"
    )
    
    type kmsTestCase struct {
    	name   string
    	method string
    	path   string
    	query  map[string]string
    
    	// User credentials and policy for request
    	policy string
    	asRoot bool
    
    	// Wanted in response.
    	wantStatusCode int
    	wantKeyNames   []string
    	wantResp       []string
    }
    
    func TestKMSHandlersCreateKey(t *testing.T) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

        private enum DfsState {
            VISITING,
            VISITED
        }
    
        private static List<String> visitCycle(
                Map<String, Set<String>> graph,
                Collection<String> children,
                Map<String, DfsState> stateMap,
                LinkedList<String> cycle) {
            if (children != null) {
                for (String v : children) {
                    DfsState state = stateMap.putIfAbsent(v, DfsState.VISITING);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top