Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 441 for flags (0.06 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         * @param config
         * @param name
         * @param flags
         * @param access
         * @param shareAccess
         * @param extFileAttributes
         * @param createOptions
         * @param andx
         */
        public SmbComNTCreateAndX ( Configuration config, String name, int flags, int access, int shareAccess, int extFileAttributes, int createOptions,
                ServerMessageBlock andx ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

            this.extFileAttributes = extFileAttributes;
    
            // shareAccess
            this.shareAccess = shareAccess;
    
            // createDisposition
            if(( flags & SmbFile.O_TRUNC ) == SmbFile.O_TRUNC ) {
                // truncate the file
                if(( flags & SmbFile.O_CREAT ) == SmbFile.O_CREAT ) {
                    // create it if necessary
                    createDisposition = FILE_OVERWRITE_IF;
                } else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        }
    
    
        /**
         * @return the flags
         */
        public final byte getFlags () {
            return this.flags;
        }
    
    
        /**
         * @param flags
         *            the flags to set
         */
        public final void setFlags ( byte flags ) {
            this.flags = flags;
        }
    
    
        /**
         * @return the flags2
         */
        public final int getFlags2 () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  4. cmd/batch-rotate.go

    			// skip all objects that are newer than specified older duration
    			return false
    		}
    
    		if r.Flags.Filter.NewerThan > 0 && time.Since(info.ModTime) >= r.Flags.Filter.NewerThan {
    			// skip all objects that are older than specified newer duration
    			return false
    		}
    
    		if !r.Flags.Filter.CreatedAfter.IsZero() && r.Flags.Filter.CreatedAfter.Before(info.ModTime) {
    			// skip all objects that are created before the specified time.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    	skip := func(oi ObjectInfo) (ok bool) {
    		if r.Flags.Filter.OlderThan > 0 && time.Since(oi.ModTime) < r.Flags.Filter.OlderThan.D() {
    			// skip all objects that are newer than specified older duration
    			return true
    		}
    
    		if r.Flags.Filter.NewerThan > 0 && time.Since(oi.ModTime) >= r.Flags.Filter.NewerThan.D() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  6. internal/grid/muxserver.go

    			return
    		case <-outBlock:
    		}
    		msg := message{
    			MuxID: m.ID,
    			Op:    OpMuxServerMsg,
    			Flags: c.baseFlags,
    		}
    		if !ok {
    			hErr := handlerErr.Load()
    			if debugPrint {
    				fmt.Println("muxServer: Mux", m.ID, "send EOF", hErr)
    			}
    			msg.Flags |= FlagEOF
    			if hErr != nil {
    				msg.Flags |= FlagPayloadIsErr
    				msg.Payload = []byte(*hErr)
    			}
    			msg.setZeroPayloadFlag()
    			m.send(msg)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

            this.flags = flags;
        }
    
        /**
         * Returns the status of the specified flag.
         *
         * @param flag The flag to test (i.e., <code>NTLMSSP_NEGOTIATE_OEM</code>).
         * @return A <code>boolean</code> indicating whether the flag is set.
         */
        public boolean getFlag(int flag) {
            return (getFlags() & flag) != 0;
        }
    
        /**
         * Sets or clears 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)
  8. 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)
  9. src/main/java/jcifs/ntlmssp/Type3Message.java

            boolean end = false;
            int flags;
            String charset;
            if ( lmResponseOffset < pos + 12 || ntResponseOffset < pos + 12 || domainOffset < pos + 12 || userOffset < pos + 12
                    || workstationOffset < pos + 12 ) {
                // no room for SK/Flags
                flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_OEM;
                setFlags(flags);
                charset = getOEMEncoding();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  10. internal/ioutil/append-file_nix.go

    import (
    	"io"
    	"os"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	flags := os.O_WRONLY | os.O_APPEND | os.O_CREATE
    	if osync {
    		flags |= os.O_SYNC
    	}
    	appendFile, err := os.OpenFile(dst, flags, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    	srcFile, err := os.Open(src)
    	if err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top