Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for setFlags (0.19 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

         *
         * @return An <code>int</code> containing the flags in use for this
         * message.
         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Sets the flags for this message.
         *
         * @param flags The flags for this message.
         */
        public void setFlags(int flags) {
            this.flags = flags;
        }
    
        /**
         * Returns the status of the specified flag.
         *
    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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/asm/main.go

    	"cmd/asm/internal/asm"
    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    
    	"cmd/internal/bio"
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"cmd/internal/telemetry/counter"
    )
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("asm: ")
    	counter.Open()
    
    	buildcfg.Check()
    	GOARCH := buildcfg.GOARCH
    
    	flags.Parse()
    	counter.Inc("asm/invocations")
    	counter.CountFlags("asm/flag:", *flag.CommandLine)
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeInputStream.java

                if ( th.isSMB2() ) {
                    Smb2IoctlRequest req = new Smb2IoctlRequest(th.getConfig(), Smb2IoctlRequest.FSCTL_PIPE_PEEK, fd.getFileId());
                    req.setMaxOutputResponse(16);
                    req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
                    Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY);
                    return ((SrvPipePeekResponse)resp.getOutputData()).getReadDataAvailable();
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:12:23 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

            return new Smb2IoctlResponse(tc.getConfig(), this.outputBuffer, this.controlCode);
        }
    
    
        /**
         * @param flags
         *            the flags to set
         */
        public void setFlags ( int flags ) {
            this.flags = flags;
        }
    
    
        /**
         * @param maxInputResponse
         *            the maxInputResponse to set
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 7.8K bytes
    - Viewed (0)
Back to top