Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 125 for getEnv (0.11 sec)

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

     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.Config;
    
    public class BufferCache {
    
        private static final int MAX_BUFFERS = Config.getInt( "jcifs.smb1.smb.maxBuffers", 16 );
    
        static Object[] cache = new Object[MAX_BUFFERS];
        private static int freeBuffers = 0;
    
        static public byte[] getBuffer() {
            synchronized( cache ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.Config;
    
    class SmbComReadAndX extends AndXServerMessageBlock {
    
        private static final int BATCH_LIMIT = Config.getInt( "jcifs.smb1.smb.client.ReadAndX.Close", 1 );
    
        private long offset;
        private int fid,
            openTimeout;
    int maxCount, minCount, remaining;
    
        SmbComReadAndX() {
            super( null );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  3. internal/kms/config_test.go

    package kms
    
    import (
    	"os"
    	"testing"
    )
    
    func TestIsPresent(t *testing.T) {
    	for i, test := range isPresentTests {
    		os.Clearenv()
    		for k, v := range test.Env {
    			os.Setenv(k, v)
    		}
    
    		ok, err := IsPresent()
    		if err != nil && !test.ShouldFail {
    			t.Fatalf("Test %d: %v", i, err)
    		}
    		if err == nil && test.ShouldFail {
    			t.Fatalf("Test %d: should have failed but succeeded", i)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        private static final int OPEN_FN_FAIL_IF_EXISTS = 0x00;
        private static final int OPEN_FN_OPEN = 0x01;
        private static final int OPEN_FN_TRUNC = 0x02;
    
        private static final int BATCH_LIMIT = Config.getInt( "jcifs.smb1.smb.client.OpenAndX.ReadAndX", 1 );
    
        int flags,
            desiredAccess,
            searchAttributes,
            fileAttributes,
            creationTime,
            openFunction,
            allocationSize;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.7K bytes
    - Viewed (0)
  5. istioctl/pkg/clioptions/central.go

    		"XDS Endpoint certificate directory")
    	cmd.PersistentFlags().StringVar(&o.XdsPodLabel, "xds-label", "",
    		"Istiod pod label selector")
    	cmd.PersistentFlags().IntVar(&o.XdsPodPort, "xds-port", viper.GetInt("XDS-PORT"),
    		"Istiod pod port")
    	cmd.PersistentFlags().DurationVar(&o.Timeout, "timeout", time.Second*30,
    		"The duration to wait before failing")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jun 06 03:39:27 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmHttpFilter.java

                this.realm = p.getProperty("jcifs.http.basicRealm");
                this.netbiosLookupRespLimit = Config.getInt(p, "jcifs.netbios.lookupRespLimit", 3);
                this.netbiosCacheTimeout = Config.getInt(p, "jcifs.netbios.cachePolicy", 60 * 10) * 60; /* 10 hours */
    
                if ( this.realm == null )
                    this.realm = "jCIFS";
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtSocket.java

            if( calledName == null ) {
                this.calledName = address.hostName;
            } else {
                this.calledName = new Name( calledName, 0x20, null );
            }
            soTimeout = Config.getInt( "jcifs.smb1.netbios.soTimeout", DEFAULT_SO_TIMEOUT );
            connect();
        }
    
        public NbtAddress getNbtAddress() {
            return address;
        }
        public InputStream getInputStream() throws IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbSession.java

                    Config.getInt( "jcifs.smb1.netbios.lookupRespLimit", 3 );
        private static final String DOMAIN =
                    Config.getProperty("jcifs.smb1.smb.client.domain", null);
        private static final String USERNAME =
                    Config.getProperty("jcifs.smb1.smb.client.username", null);
        private static final int CACHE_POLICY =
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/netns_linux.go

    }
    
    func inodeForFd(n NetnsFd) (uint64, error) {
    	stats := &unix.Stat_t{}
    	err := unix.Fstat(int(n.Fd()), stats)
    	return stats.Ino, err
    }
    
    func OpenNetns(nspath string) (NetnsCloser, error) {
    	n, err := netns.GetNS(nspath)
    	if err != nil {
    		return nil, err
    	}
    	i, err := inodeForFd(n)
    	if err != nil {
    		n.Close()
    		return nil, err
    	}
    	return &NetnsWrapper{innerNetns: n, inode: i}, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 31 10:05:36 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

    package jcifs.smb1.smb1;
    
    import java.util.Arrays;
    
    import jcifs.smb1.Config;
    
    class SmbComSessionSetupAndX extends AndXServerMessageBlock {
    
        private static final int BATCH_LIMIT =
                Config.getInt( "jcifs.smb1.smb.client.SessionSetupAndX.TreeConnectAndX", 1 );
        private static final boolean DISABLE_PLAIN_TEXT_PASSWORDS =
                Config.getBoolean( "jcifs.smb1.smb.client.disablePlainTextPasswords", true );
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
Back to top