Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 128 for cap (5.33 sec)

  1. src/main/java/jcifs/config/BaseConfiguration.java

                        | ( this.useExtendedSecurity ? SmbConstants.CAP_EXTENDED_SECURITY : 0 )
                        | ( this.useLargeReadWrite ? SmbConstants.CAP_LARGE_READX : 0 ) | ( this.useLargeReadWrite ? SmbConstants.CAP_LARGE_WRITEX : 0 )
                        | ( this.useUnicode ? SmbConstants.CAP_UNICODE : 0 );
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  2. cmd/bootstrap-peer-server_gen.go

    				return
    			}
    		case "CmdLines":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "CmdLines")
    				return
    			}
    			if cap(z.CmdLines) >= int(zb0002) {
    				z.CmdLines = (z.CmdLines)[:zb0002]
    			} else {
    				z.CmdLines = make([]string, zb0002)
    			}
    			for za0001 := range z.CmdLines {
    				z.CmdLines[za0001], err = dc.ReadString()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 24 21:36:44 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) {
                    this.largeReadX = true;
                    this.readSize = Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70);
                }
    
                // there seems to be a bug with some servers that causes corruption if using signatures + CAP_LARGE_WRITE
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/SmbNegotiationResponse.java

    
        /**
         * @return whether signing has been negotiated
         */
        boolean isSigningNegotiated ();
    
    
        /**
         * @param cap
         * @return whether capability is negotiated
         */
        boolean haveCapabilitiy ( int cap );
    
    
        /**
         * @return the send buffer size
         */
        int getSendBufferSize ();
    
    
        /**
         * @return the receive buffer size
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.6K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_gen.go

    				return
    			}
    		case "EcDist":
    			var zb0003 uint32
    			zb0003, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "ErasureDist")
    				return
    			}
    			if cap(z.ErasureDist) >= int(zb0003) {
    				z.ErasureDist = (z.ErasureDist)[:zb0003]
    			} else {
    				z.ErasureDist = make([]uint8, zb0003)
    			}
    			for za0003 := range z.ErasureDist {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/FileAttributesTest.java

                try {
                    long time = System.currentTimeMillis() - 1000 * 60 * 60 * 12;
                    f.setLastModified(time);
    
                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
                        // there seems to be some random factor (adding one second)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportInternal.java

    
    /**
     * @author mbechler
     *
     */
    public interface SmbTransportInternal extends SmbTransport {
    
        /**
         * @param cap
         * @return whether the transport has the given capability
         * @throws SmbException
         */
        boolean hasCapability ( int cap ) throws SmbException;
    
    
        /**
         * @return whether the transport has been disconnected
         */
        boolean isDisconnected ();
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3K bytes
    - Viewed (0)
  8. internal/rest/client.go

    func exponentialBackoffWait(r *rand.Rand, unit, cap time.Duration) func(uint) time.Duration {
    	if unit > time.Hour {
    		// Protect against integer overflow
    		panic("unit cannot exceed one hour")
    	}
    	return func(attempt uint) time.Duration {
    		if attempt > 16 {
    			// Protect against integer overflow
    			attempt = 16
    		}
    		// sleep = random_between(unit, min(cap, base * 2 ** attempt))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            this.treeConnection.ensureDFSResolved(this.resourceLoc);
        }
    
    
        @Override
        public boolean hasCapability ( int cap ) throws SmbException {
            return this.treeConnection.hasCapability(cap);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTreeHandle#isConnected()
         */
        @Override
        public boolean isConnected () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  10. src/bytes/buffer_test.go

    	var cap0 int
    	for i := 0; i < 5<<10; i++ {
    		b.Write(buf)
    		b.Read(buf)
    		if i == 0 {
    			cap0 = b.Cap()
    		}
    	}
    	cap1 := b.Cap()
    	// (*Buffer).grow allows for 2x capacity slop before sliding,
    	// so set our error threshold at 3x.
    	if cap1 > cap0*3 {
    		t.Errorf("buffer cap = %d; too big (grew from %d)", cap1, cap0)
    	}
    }
    
    func BenchmarkWriteByte(b *testing.B) {
    	const n = 4 << 10
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top