Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 1,427 for appends (0.07 sec)

  1. docs_src/sql_databases/tutorial002_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, HTTPException, Query
    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class HeroBase(SQLModel):
        name: str = Field(index=True)
        age: int | None = Field(default=None, index=True)
    
    
    class Hero(HeroBase, table=True):
        id: int | None = Field(default=None, primary_key=True)
        secret_name: str
    
    
    class HeroPublic(HeroBase):
        id: int
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/net/UuidUtil.java

        /**
         * UUIDを作成します。
         *
         * @return UUIDの文字列
         */
        public static String create() {
            final StringBuilder buf = new StringBuilder(BASE.length() * 2);
            buf.append(BASE);
            final int lowTime = (int) (System.currentTimeMillis() >> 32);
            StringUtil.appendHex(buf, lowTime);
            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-decom.go

    func (pd *PoolDecommissionInfo) bucketPop(bucket string) bool {
    	pd.DecommissionedBuckets = append(pd.DecommissionedBuckets, bucket)
    	for i, b := range pd.QueuedBuckets {
    		if b == bucket {
    			// Bucket is done.
    			pd.QueuedBuckets = append(pd.QueuedBuckets[:i], pd.QueuedBuckets[i+1:]...)
    			// Clear tracker info.
    			if pd.Bucket == bucket {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  4. src/main/resources/log4j2.xml

    		<Property name="backup.searchlog.max.age" value="90" />
    		<Property name="audit.log.pattern" value="%msg%n" />
    		<Property name="searchlog.log.pattern" value="%msg%n" />
    	</Properties>
    
    	<Appenders>
    		<RollingFile name="AppFile" fileName="${log.file.basedir}/${domain.name}.log"
    			filePattern="${log.file.basedir}/${domain.name}${backup.date.suffix}-%i.log.gz">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Feb 20 13:17:33 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. istioctl/pkg/multicluster/remote_secret.go

    			continue
    		}
    		for _, m := range mf.Manifests {
    			if m.GetKind() == "ClusterRole" || m.GetKind() == "ClusterRoleBinding" {
    				included = append(included, m.Content)
    			}
    			if m.GetKind() == "ServiceAccount" && m.GetName() == "istio-reader-service-account" {
    				included = append(included, m.Content)
    			}
    		}
    	}
    
    	return strings.Join(included, mesh.YAMLSeparator), nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    sb.append("The option -").append(option.getOpt());
                    if (option.getLongOpt() != null) {
                        sb.append(",--").append(option.getLongOpt());
                    }
                    sb.append(" is deprecated ");
                    if (option.getDeprecated().isForRemoval()) {
                        sb.append("and will be removed in a future version");
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  7. tests/scanner_valuer_test.go

    func (data *EncryptedData) Scan(value interface{}) error {
    	if b, ok := value.([]byte); ok {
    		if len(b) < 3 || b[0] != '*' || b[1] != '*' || b[2] != '*' {
    			return errors.New("Too short")
    		}
    
    		*data = append((*data)[0:], b[3:]...)
    		return nil
    	} else if s, ok := value.(string); ok {
    		*data = []byte(s[3:])
    		return nil
    	}
    
    	return errors.New("Bytes expected")
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. cmd/bucket-handlers_test.go

    		for _, objectName := range objectNames {
    			objectList = append(objectList, ObjectToDelete{
    				ObjectV: ObjectV{
    					ObjectName: objectName,
    				},
    			})
    		}
    
    		return objectList
    	}
    
    	getDeleteErrorList := func(objects []ObjectToDelete) (deleteErrorList []DeleteError) {
    		for _, obj := range objects {
    			deleteErrorList = append(deleteErrorList, DeleteError{
    				Code:    errorCodes[ErrAccessDenied].Code,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  9. cmd/erasure-healing.go

    			// all remaining cases imply corrupt data/metadata
    			driveState = madmin.DriveStateCorrupt
    		}
    
    		result.Before.Drives = append(result.Before.Drives, madmin.HealDriveInfo{
    			UUID:     "",
    			Endpoint: storageEndpoints[i].String(),
    			State:    driveState,
    		})
    		result.After.Drives = append(result.After.Drives, madmin.HealDriveInfo{
    			UUID:     "",
    			Endpoint: storageEndpoints[i].String(),
    			State:    driveState,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  10. cmd/notification.go

    			}
    			replies[idx] = info
    		}(client, i)
    	}
    	wg.Wait()
    
    	// Add local to this server.
    	replies = append(replies, objLayer.LocalStorageInfo(ctx, metrics))
    
    	storageInfo.Backend = objLayer.BackendInfo()
    	for _, sinfo := range replies {
    		storageInfo.Disks = append(storageInfo.Disks, sinfo.Disks...)
    	}
    
    	return storageInfo
    }
    
    // ServerInfo - calls ServerInfo RPC call on all peers.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top