Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 1,315 for bool (0.08 sec)

  1. cmd/sftp-server.go

    	// username in authentication request matches to identities in certificate
    	// and that certificate type is correct.
    	checker := ssh.CertChecker{}
    	checker.IsUserAuthority = func(k ssh.PublicKey) bool {
    		return subtle.ConstantTimeCompare(caPublicKey.Marshal(), k.Marshal()) == 1
    	}
    
    	_, err = checker.Authenticate(c, clientKey)
    	return
    }
    
    type sftpLogger struct{}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. internal/s3select/message.go

    	payloadBufferIndex int
    	payloadCh          chan *bytes.Buffer
    
    	finBytesScanned, finBytesProcessed int64
    
    	errCh  chan []byte
    	doneCh chan struct{}
    }
    
    func (writer *messageWriter) write(data []byte) bool {
    	if _, err := writer.writer.Write(data); err != nil {
    		return false
    	}
    
    	writer.writer.(http.Flusher).Flush()
    	return true
    }
    
    func (writer *messageWriter) start() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  3. cmd/listen-notification-handlers.go

    				grid.PutByteBuffer(buf.Bytes())
    				return
    			}
    		}
    	}()
    	peers, _ := newPeerRestClients(globalEndpoints)
    	err := globalHTTPListen.Subscribe(mask, localCh, ctx.Done(), func(ev event.Event) bool {
    		if ev.S3.Bucket.Name != "" && bucketName != "" {
    			if ev.S3.Bucket.Name != bucketName {
    				return false
    			}
    		}
    		return rulesMap.MatchSimple(ev.EventName, ev.S3.Object.Key)
    	})
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. cmd/server-startup-msg.go

    	// Prints documentation message.
    	printObjectAPIMsg()
    	if globalIsDistErasure {
    		logger.Startup(color.Bold(banner))
    	}
    }
    
    // Returns true if input is IPv6
    func isIPv6(host string) bool {
    	h, _, err := net.SplitHostPort(host)
    	if err != nil {
    		h = host
    	}
    	ip := net.ParseIP(h)
    	return ip.To16() != nil && ip.To4() == nil
    }
    
    // strip api endpoints list with standard ports such as
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 23 14:11:35 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsRelatedQueryCQ.java

        }
    
        public void bool(BoolCall<RelatedQueryCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<RelatedQueryCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            RelatedQueryCQ mustQuery = new RelatedQueryCQ();
            RelatedQueryCQ shouldQuery = new RelatedQueryCQ();
            RelatedQueryCQ mustNotQuery = new RelatedQueryCQ();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/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();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsRoleTypeCQ.java

        }
    
        public void bool(BoolCall<RoleTypeCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<RoleTypeCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            RoleTypeCQ mustQuery = new RoleTypeCQ();
            RoleTypeCQ shouldQuery = new RoleTypeCQ();
            RoleTypeCQ mustNotQuery = new RoleTypeCQ();
            RoleTypeCQ filterQuery = new RoleTypeCQ();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 55.2K bytes
    - Viewed (0)
  8. 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(context.Background())
    		st, err := remoteConn.NewStream(ctx, handler, []byte(testPayload))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. docs/em/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):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. docs/he/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):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top