Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 3,247 for Mode (0.02 seconds)

  1. docs_src/events/tutorial002_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.on_event("shutdown")
    def shutdown_event():
        with open("log.txt", mode="a") as log:
            log.write("Application shutdown")
    
    
    @app.get("/items/")
    async def read_items():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 255 bytes
    - Click Count (0)
  2. cmd/xl-storage_unix_test.go

    package cmd
    
    import (
    	"os"
    	"path"
    	"syscall"
    	"testing"
    )
    
    // Based on `man getumask` a vaporware GNU extension to glibc.
    // returns file mode creation mask.
    func getUmask() int {
    	mask := syscall.Umask(0)
    	syscall.Umask(mask)
    	return mask
    }
    
    // Tests if the directory and file creations happen with proper umask.
    func TestIsValidUmaskVol(t *testing.T) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. callbacks/delete.go

    			}
    
    			db.Statement.AddClauseIfNotExists(clause.From{})
    
    			db.Statement.Build(db.Statement.BuildClauses...)
    		}
    
    		checkMissingWhereConditions(db)
    
    		if !db.DryRun && db.Error == nil {
    			ok, mode := hasReturning(db, supportReturning)
    			if !ok {
    				result, err := db.Statement.ConnPool.ExecContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    
    				if db.AddError(err) == nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. callbacks/create.go

    		if !isDryRun {
    			return
    		}
    
    		ok, mode := hasReturning(db, supportReturning)
    		if ok {
    			if c, ok := db.Statement.Clauses["ON CONFLICT"]; ok {
    				onConflict, _ := c.Expression.(clause.OnConflict)
    				if onConflict.DoNothing {
    					mode |= gorm.ScanOnConflictDoNothing
    				} else if len(onConflict.DoUpdates) > 0 || onConflict.UpdateAll {
    					mode |= gorm.ScanUpdate
    				}
    			}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 29 11:06:13 GMT 2025
    - 13K bytes
    - Click Count (0)
  5. docs_src/background_tasks/tutorial002_an_py310.py

    from typing import Annotated
    
    from fastapi import BackgroundTasks, Depends, FastAPI
    
    app = FastAPI()
    
    
    def write_log(message: str):
        with open("log.txt", mode="a") as log:
            log.write(message)
    
    
    def get_query(background_tasks: BackgroundTasks, q: str | None = None):
        if q:
            message = f"found query: {q}\n"
            background_tasks.add_task(write_log, message)
        return q
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 683 bytes
    - Click Count (0)
  6. docs_src/background_tasks/tutorial002_py39.py

    from typing import Union
    
    from fastapi import BackgroundTasks, Depends, FastAPI
    
    app = FastAPI()
    
    
    def write_log(message: str):
        with open("log.txt", mode="a") as log:
            log.write(message)
    
    
    def get_query(background_tasks: BackgroundTasks, q: Union[str, None] = None):
        if q:
            message = f"found query: {q}\n"
            background_tasks.add_task(write_log, message)
        return q
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 675 bytes
    - Click Count (0)
  7. docs/federation/lookup/README.md

    `bucket1.domain.com` will point to IP address set in `MINIO_PUBLIC_IPS`.
    
    - This field is mandatory for standalone and erasure code MinIO server deployments, to enable federated mode.
    - This field is optional for distributed deployments. If you don't set this field in a federated setup, we use the IP addresses of
    hosts passed to the MinIO server startup and use them for DNS entries.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. .vscode/settings.json

    {
      "java.compile.nullAnalysis.mode": "automatic"
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 52 bytes
    - Click Count (0)
  9. helm/minio/templates/pvc.yaml

    {{- if eq .Values.mode "standalone" }}
    {{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
    apiVersion: v1
    kind: PersistentVolumeClaim
    metadata:
      name: {{ template "minio.fullname" . }}
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
      {{- if .Values.persistence.annotations }}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Apr 30 06:59:40 GMT 2023
    - 1014 bytes
    - Click Count (0)
  10. cmd/xl-storage-format-v1_gen.go

    				return
    			}
    		case "Dir":
    			z.Dir, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Dir")
    				return
    			}
    		case "Mode":
    			z.Mode, err = dc.ReadUint32()
    			if err != nil {
    				err = msgp.WrapError(err, "Mode")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 41.2K bytes
    - Click Count (0)
Back to Top