Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 128 for cap (0.15 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            if ((server.capabilities & CAP_EXTENDED_SECURITY) == CAP_EXTENDED_SECURITY)
                capabilities |= CAP_EXTENDED_SECURITY; // & doesn't copy high bit
    
            if ((capabilities & ServerMessageBlock.CAP_UNICODE) == 0) {
                // server doesn't want unicode
                if (FORCE_UNICODE) {
                    capabilities |= ServerMessageBlock.CAP_UNICODE;
                } else {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         * @throws SmbException
         * @throws CIFSException
         */
        void ensureDFSResolved () throws CIFSException;
    
    
        /**
         * @param cap
         * @return whether the capabiltiy is present
         * @throws CIFSException
         */
        boolean hasCapability ( int cap ) throws CIFSException;
    
    
        /**
         * @return the send buffer size of the underlying connection
         * @throws CIFSException
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  3. internal/bpool/bpool.go

    		w:    width,
    		wcap: capwidth,
    	}
    }
    
    // Populate - populates and pre-warms the byte pool, this function is non-blocking.
    func (bp *BytePoolCap) Populate() {
    	for _, buf := range reedsolomon.AllocAligned(cap(bp.c), bp.wcap) {
    		bp.Put(buf[:bp.w])
    	}
    }
    
    // Get gets a []byte from the BytePool, or creates a new one if none are
    // available in the pool.
    func (bp *BytePoolCap) Get() (b []byte) {
    	if bp == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

        public boolean haveCapabilitiy ( int cap ) {
            return ( this.commonCapabilities & cap ) == cap;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#isDFSSupported()
         */
        @Override
        public boolean isDFSSupported () {
            return !getConfig().isDfsDisabled() && haveCapabilitiy(Smb2Constants.SMB2_GLOBAL_CAP_DFS);
        }
    
    
        /**
         * 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Mar 22 10:09:46 GMT 2020
    - 17.6K bytes
    - Viewed (0)
  5. manifests/charts/istio-cni/templates/daemonset.yaml

                # privileged is redundant with CAP_SYS_ADMIN
                # since it's redundant, hardcode it to `true`, then manually drop ALL + readd granular
                # capabilities we actually require
                capabilities:
                  drop:
                  - ALL
                  add:
                  # CAP_NET_ADMIN is required to allow ipset and route table access
                  - NET_ADMIN
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Feb 28 17:29:38 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. cmd/batch-expire_gen.go

    				return
    			}
    		case "Rules":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Rules")
    				return
    			}
    			if cap(z.Rules) >= int(zb0002) {
    				z.Rules = (z.Rules)[:zb0002]
    			} else {
    				z.Rules = make([]BatchJobExpireFilter, zb0002)
    			}
    			for za0001 := range z.Rules {
    				err = z.Rules[za0001].DecodeMsg(dc)
    				if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  7. src/arena/arena.go

    // not be used after the arena is freed. Accessing the underlying storage of the
    // slice after free may result in a fault, but this fault is also not guaranteed.
    func MakeSlice[T any](a *Arena, len, cap int) []T {
    	var sl []T
    	runtime_arena_arena_Slice(a.a, &sl, cap)
    	return sl[:len]
    }
    
    // Clone makes a shallow copy of the input value that is no longer bound to any
    // arena it may have been allocated from, returning the copy. If it was not
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                    req = r;
                }
                else {
                    if ( !th.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                        throw new SmbUnsupportedOperationException("Not supported without CAP_NT_SMBS");
                    }
    
                    /*
                     * NtTrans Notify Change Request / Response
                     */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            if ( !config.isDfsDisabled() ) {
                this.capabilities |= Smb2Constants.SMB2_GLOBAL_CAP_DFS;
            }
    
            if ( config.isEncryptionEnabled() && config.getMaximumVersion() != null && config.getMaximumVersion().atLeast(DialectVersion.SMB300) ) {
                this.capabilities |= Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION;
            }
    
            Set<DialectVersion> dvs = DialectVersion
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.5K bytes
    - Viewed (0)
  10. src/bytes/buffer.go

    func (b *Buffer) Len() int { return len(b.buf) - b.off }
    
    // Cap returns the capacity of the buffer's underlying byte slice, that is, the
    // total space allocated for the buffer's data.
    func (b *Buffer) Cap() int { return cap(b.buf) }
    
    // Available returns how many bytes are unused in the buffer.
    func (b *Buffer) Available() int { return cap(b.buf) - len(b.buf) }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
Back to top