Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 834 for BOOL (0.02 seconds)

  1. cmd/ftp-server.go

    	}
    }
    
    func startFTPServer(args []string) {
    	var (
    		port          int
    		publicIP      string
    		portRange     string
    		tlsPrivateKey string
    		tlsPublicCert string
    		forceTLS      bool
    	)
    
    	var err error
    	for _, arg := range args {
    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s", arg), "unable to start FTP server")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. internal/mountinfo/mountinfo_linux.go

    	expectedNumFieldsPerLine = 6
    	// Location of the mount file to use
    	procMountsPath = "/proc/mounts"
    )
    
    // IsLikelyMountPoint determines if a directory is a mountpoint.
    func IsLikelyMountPoint(path string) bool {
    	s1, err := os.Lstat(path)
    	if err != nil {
    		return false
    	}
    
    	// A symlink can never be a mount point
    	if s1.Mode()&os.ModeSymlink != 0 {
    		return false
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. docs/zh/docs/index.md

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  4. src/archive/zip/writer_test.go

    		testReadFile(t, r.File[i], &wt)
    	}
    }
    
    // TestWriterComment is test for EOCD comment read/write.
    func TestWriterComment(t *testing.T) {
    	tests := []struct {
    		comment string
    		ok      bool
    	}{
    		{"hi, hello", true},
    		{"hi, こんにちわ", true},
    		{strings.Repeat("a", uint16max), true},
    		{strings.Repeat("a", uint16max+1), false},
    	}
    
    	for _, test := range tests {
    		// write a zip file
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/log/cbean/cq/bs/BsClickLogCQ.java

        }
    
        public void bool(BoolCall<ClickLogCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<ClickLogCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            ClickLogCQ mustQuery = new ClickLogCQ();
            ClickLogCQ shouldQuery = new ClickLogCQ();
            ClickLogCQ mustNotQuery = new ClickLogCQ();
            ClickLogCQ filterQuery = new ClickLogCQ();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 63.5K bytes
    - Click Count (0)
  6. cmd/xl-storage-format-v2_test.go

    	restoredExpired := make(map[string]string)
    	restoredExpired[xhttp.AmzRestore] = completedRestoreObj(time.Now().UTC().Add(-time.Hour)).String()
    
    	testCases := []struct {
    		xlmeta xlMetaV2Object
    		uses   bool
    	}{
    		{ // transitioned object version
    			xlmeta: xlMetaV2Object{
    				VersionID: vID,
    				DataDir:   dataDir,
    				MetaSys:   transitioned,
    			},
    			uses: false,
    		},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsBadWordCQ.java

        }
    
        public void bool(BoolCall<BadWordCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<BadWordCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            BadWordCQ mustQuery = new BadWordCQ();
            BadWordCQ shouldQuery = new BadWordCQ();
            BadWordCQ mustNotQuery = new BadWordCQ();
            BadWordCQ filterQuery = new BadWordCQ();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 58.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsBoostDocumentRuleCQ.java

            bool((must, should, mustNot, filter) -> notLambda.callback(mustNot), opLambda);
        }
    
        public void bool(BoolCall<BoostDocumentRuleCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<BoostDocumentRuleCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 56.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsRequestHeaderCQ.java

        }
    
        public void bool(BoolCall<RequestHeaderCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<RequestHeaderCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            RequestHeaderCQ mustQuery = new RequestHeaderCQ();
            RequestHeaderCQ shouldQuery = new RequestHeaderCQ();
            RequestHeaderCQ mustNotQuery = new RequestHeaderCQ();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 57.3K bytes
    - Click Count (0)
  10. internal/grid/grid_test.go

    				return nil
    			},
    			OutCapacity: 1,
    			InCapacity:  1,
    		}))
    	}
    	register(local)
    	register(remote)
    
    	// local to remote
    	testHandler := func(t *testing.T, handler HandlerID, sendReq bool) {
    		remoteConn := local.Connection(remoteHost)
    		const testPayload = "Hello Grid World!"
    
    		ctx, cancel := context.WithCancel(t.Context())
    		st, err := remoteConn.NewStream(ctx, handler, []byte(testPayload))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.1K bytes
    - Click Count (0)
Back to Top