Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 474 for flags (0.22 sec)

  1. 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 {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dtyp/ACE.java

        boolean allow;
        int flags;
        int access;
        SID sid;
    
    
        @Override
        public boolean isAllow () {
            return this.allow;
        }
    
    
        @Override
        public boolean isInherited () {
            return ( this.flags & FLAGS_INHERITED ) != 0;
        }
    
    
        @Override
        public int getFlags () {
            return this.flags;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

    import jcifs.smb1.Config;
    import jcifs.smb1.util.Hexdump;
    
    class SmbComOpenAndX extends AndXServerMessageBlock {
    
        // flags (not the same as flags constructor argument)
        private static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01;
        private static final int FLAGS_REQUEST_OPLOCK         = 0x02;
        private static final int FLAGS_REQUEST_BATCH_OPLOCK   = 0x04;
    
        // Access Mode Encoding for desiredAccess
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcMessage.java

         * @param flag
         */
        public void unsetFlag ( int flag ) {
            this.flags &= ~flag;
        }
    
    
        /**
         * Set flag
         * 
         * @param flag
         */
        public void setFlag ( int flag ) {
            this.flags |= flag;
        }
    
    
        /**
         * 
         * @return result exception, if the call failed
         */
        public DcerpcException getResult () {
            if ( this.result != 0 )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5K bytes
    - Viewed (0)
  5. istioctl/cmd/root_test.go

    	"github.com/spf13/cobra"
    )
    
    func checkHelpForFlag(t *testing.T, gotHelpText, flag string, wantExists bool) {
    	t.Helper()
    
    	if strings.Contains(gotHelpText, flag) != wantExists {
    		if wantExists {
    			t.Errorf("%q flag was expected but not found in help text", flag)
    		} else {
    			t.Errorf("%q flag was found in help text but not expected", flag)
    		}
    	}
    }
    
    func TestHideInheritedFlags(t *testing.T) {
    	const (
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 15 17:59:55 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java

                ",informationLevel=0x" + Hexdump.toHexString( informationLevel, 3 ) +
                ",resumeKey=0x" + Hexdump.toHexString( resumeKey, 4 ) +
                ",flags=0x" + Hexdump.toHexString( flags, 2 ) +
                ",filename=" + filename + "]" );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.2K bytes
    - Viewed (0)
  7. cmd/batch-replicate_gen.go

    					err = z.Flags.Filter.DecodeMsg(dc)
    					if err != nil {
    						err = msgp.WrapError(err, "Flags", "Filter")
    						return
    					}
    				case "Notify":
    					err = z.Flags.Notify.DecodeMsg(dc)
    					if err != nil {
    						err = msgp.WrapError(err, "Flags", "Notify")
    						return
    					}
    				case "Retry":
    					err = z.Flags.Retry.DecodeMsg(dc)
    					if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 40.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            for ( int i = 0; i < SIGNATURE_LENGTH; i++ )
                data[ index + i ] = 0;
    
            // set signed flag
            int oldFlags = SMBUtil.readInt4(data, offset + 16);
            int flags = oldFlags | ServerMessageBlock2.SMB2_FLAGS_SIGNED;
            SMBUtil.writeInt4(flags, data, offset + 16);
    
            this.digest.update(data, offset, length);
    
            byte[] sig = this.digest.doFinal();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 4.9K bytes
    - Viewed (0)
  9. istioctl/pkg/cli/option.go

    	flags.StringVarP(r.namespace, FlagNamespace, "n", v1.NamespaceAll,
    		"Kubernetes namespace")
    	flags.StringVarP(r.istioNamespace, FlagIstioNamespace, "i", viper.GetString(FlagIstioNamespace),
    		"Istio system namespace")
    	return r
    }
    
    // Namespace returns the namespace flag value.
    func (r *RootFlags) Namespace() string {
    	return *r.namespace
    }
    
    // IstioNamespace returns the istioNamespace flag value.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 18:01:27 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/archive/zip/writer_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	for i, test := range utf8Tests {
    		flags := r.File[i].Flags
    		if flags != test.flags {
    			t.Errorf("CreateHeader(name=%q comment=%q nonUTF8=%v): flags=%#x, want %#x", test.name, test.comment, test.nonUTF8, flags, test.flags)
    		}
    	}
    }
    
    func TestWriterTime(t *testing.T) {
    	var buf bytes.Buffer
    	h := &FileHeader{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
Back to top