Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for SetFlags (0.13 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

         * @param suppliedWorkstation The supplied workstation name.
         */
        public Type1Message(int flags, String suppliedDomain,
                String suppliedWorkstation) {
            setFlags(getDefaultFlags() | flags);
            setSuppliedDomain(suppliedDomain);
            if (suppliedWorkstation == null)
                suppliedWorkstation = getDefaultWorkstation();
            setSuppliedWorkstation(suppliedWorkstation);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

         * clear (<code>false</code>) the specified flag.
         */
        public void setFlag(int flag, boolean value) {
            setFlags(value ? (getFlags() | flag) :
                    (getFlags() & (0xffffffff ^ flag)));
        }
    
        static int readULong(byte[] src, int index) {
            return (src[index] & 0xff) |
                    ((src[index + 1] & 0xff) << 8) |
                    ((src[index + 2] & 0xff) << 16) |
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                String user, String workstation, int flags) {
            setFlags(flags | getDefaultFlags(type2));
            if (workstation == null)
                workstation = getDefaultWorkstation();
            setWorkstation(workstation);
            setDomain(domain);
            setUser(user);
    
            switch (LM_COMPATIBILITY) {
            case 0:
            case 1:
                if ((getFlags() & NTLMSSP_NEGOTIATE_NTLM2) == 0) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type3Message.java

                flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_OEM;
                setFlags(flags);
                charset = getOEMEncoding();
                end = true;
            }
            else {
                setEncryptedSessionKey(readSecurityBuffer(material, pos));
                pos += 8;
    
                flags = readULong(material, pos);
                setFlags(flags);
                pos += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/NtlmMessage.java

         *            Indicates whether to set (<code>true</code>) or
         *            clear (<code>false</code>) the specified flag.
         */
        public void setFlag ( int flag, boolean value ) {
            setFlags(value ? ( getFlags() | flag ) : ( getFlags() & ( 0xffffffff ^ flag ) ));
        }
    
    
        static int readULong ( byte[] src, int index ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/Type2Message.java

         * @param target
         *            The authentication target.
         */
        public Type2Message ( CIFSContext tc, int flags, byte[] challenge, String target ) {
            setFlags(flags);
            setChallenge(challenge);
            setTarget(target);
            if ( target != null ) {
                setTargetInformation(getDefaultTargetInfo(tc));
            }
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  7. lib/time/mkzip.go

    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n")
    	os.Exit(2)
    }
    
    func main() {
    	log.SetPrefix("mkzip: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	args := flag.Args()
    	if len(args) != 1 || !strings.HasSuffix(args[0], ".zip") {
    		usage()
    	}
    
    	var zb bytes.Buffer
    	zw := zip.NewWriter(&zb)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/cmd/buildid/buildid.go

    	fmt.Fprintf(os.Stderr, "usage: go tool buildid [-w] file\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    var wflag = flag.Bool("w", false, "write build ID")
    
    func main() {
    	log.SetPrefix("buildid: ")
    	log.SetFlags(0)
    	counter.Open()
    	flag.Usage = usage
    	flag.Parse()
    	counter.Inc("buildid/invocations")
    	counter.CountFlags("buildid/flag:", *flag.CommandLine)
    	if flag.NArg() != 1 {
    		usage()
    	}
    
    	file := flag.Arg(0)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type1Message.java

         * @param suppliedWorkstation
         *            The supplied workstation name.
         */
        public Type1Message ( CIFSContext tc, int flags, String suppliedDomain, String suppliedWorkstation ) {
            setFlags(getDefaultFlags(tc) | flags);
            setSuppliedDomain(suppliedDomain);
            setSuppliedWorkstation(suppliedWorkstation);
        }
    
    
        /**
         * Creates a Type-1 message using the given raw Type-1 material.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
  10. src/cmd/addr2line/main.go

    	fmt.Fprintf(w, "\tfunction name\n")
    	fmt.Fprintf(w, "\tfile:line\n")
    }
    
    func usage() {
    	printUsage(os.Stderr)
    	os.Exit(2)
    }
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("addr2line: ")
    	counter.Open()
    
    	// pprof expects this behavior when checking for addr2line
    	if len(os.Args) > 1 && os.Args[1] == "--help" {
    		printUsage(os.Stdout)
    		os.Exit(0)
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top