Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 697 for oper (0.05 sec)

  1. internal/store/queuestore.go

    	}
    
    	return &QueueStore[I]{
    		directory:  directory,
    		entryLimit: limit,
    		fileExt:    ext,
    		entries:    make(map[string]int64, limit),
    	}
    }
    
    // Open - Creates the directory if not present.
    func (store *QueueStore[_]) Open() error {
    	store.Lock()
    	defer store.Unlock()
    
    	if err := os.MkdirAll(store.directory, os.FileMode(0o770)); err != nil {
    		return err
    	}
    
    	files, err := store.list()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. internal/s3select/sql/evaluate.go

    		return nil, errExpectedBool
    	}
    	return FromBool(!b), nil
    }
    
    func (e *ConditionOperand) evalNode(r Record, tableAlias string) (*Value, error) {
    	opVal, opErr := e.Operand.evalNode(r, tableAlias)
    	if opErr != nil || e.ConditionRHS == nil {
    		return opVal, opErr
    	}
    
    	// Need to evaluate the ConditionRHS
    	switch {
    	case e.ConditionRHS.Compare != nil:
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. docs_src/background_tasks/tutorial001.py

    from fastapi import BackgroundTasks, FastAPI
    
    app = FastAPI()
    
    
    def write_notification(email: str, message=""):
        with open("log.txt", mode="w") as email_file:
            content = f"notification for {email}: {message}"
            email_file.write(content)
    
    
    @app.post("/send-notification/{email}")
    async def send_notification(email: str, background_tasks: BackgroundTasks):
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 519 bytes
    - Viewed (0)
  4. src/main/resources/fess_indices/fess/nl/stopwords.txt

    van
    ik
    te
    dat
    die
    in
    een
    hij
    het
    niet
    zijn
    is
    was
    op
    aan
    met
    als
    voor
    had
    er
    maar
    om
    hem
    dan
    zou
    of
    wat
    mijn
    men
    dit
    zo
    door
    over
    ze
    zich
    bij
    ook
    tot
    je
    mij
    uit
    der
    daar
    haar
    naar
    heb
    hoe
    heeft
    hebben
    deze
    u
    want
    nog
    zal
    me
    zij
    nu
    ge
    geen
    omdat
    iets
    worden
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Mon Nov 27 12:59:36 UTC 2023
    - 592 bytes
    - Viewed (0)
  5. docs/de/docs/advanced/response-cookies.md

    ///
    
    ### Mehr Informationen
    
    /// note | "Technische Details"
    
    Sie können auch `from starlette.responses import Response` oder `from starlette.responses import JSONResponse` verwenden.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. internal/s3select/select_test.go

    			testdataFile := "testdata/testdata.parquet"
    			file, err := os.Open(testdataFile)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			s3Select, err := NewS3Select(bytes.NewReader(testCase.requestXML))
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			if err = s3Select.Open(file); err != nil {
    				t.Fatal(err)
    			}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  7. docs_src/background_tasks/tutorial002_py310.py

    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
    
    
    @app.post("/send-notification/{email}")
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 643 bytes
    - Viewed (0)
  8. docs/metrics/prometheus/grafana/minio-dashboard.json

              "interval": "",
              "legendFormat": "Open FDs [{{server}}]",
              "refId": "B"
            }
          ],
          "title": "File Descriptors",
          "type": "timeseries"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
          "description": "Number of online drives per MinIO Server",
          "fieldConfig": {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jul 24 14:51:03 UTC 2024
    - 93K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_background_tasks/test_tutorial002_py310.py

        response = client.post("/send-notification/******@****.***?q=some-query")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Message sent"}
        with open("./log.txt") as f:
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 628 bytes
    - Viewed (0)
  10. internal/ioutil/read_file.go

    	"github.com/minio/minio/internal/disk"
    )
    
    var (
    	// OpenFileDirectIO allows overriding default function.
    	OpenFileDirectIO = disk.OpenFileDirectIO
    	// OsOpen allows overriding default function.
    	OsOpen = os.Open
    	// OsOpenFile allows overriding default function.
    	OsOpenFile = os.OpenFile
    )
    
    // ReadFileWithFileInfo reads the named file and returns the contents.
    // A successful call returns err == nil, not err == EOF.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Dec 09 18:17:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top