Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for addFlags0 (0.14 sec)

  1. src/test/java/jcifs/tests/OplockTests.java

                    SmbComNTCreateAndX req = new SmbComNTCreateAndX(sess.getConfig(), uncPath, flags, access, sharing, attrs, options, null);
                    req.addFlags0(0x2); // REQUEST_OPLOCK
                    req.setResponse(resp);
                    try {
                        resp = tree.send(req);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbNamedPipe.java

         *      jcifs.internal.smb1.com.SmbComNTCreateAndXResponse)
         */
        @Override
        protected void customizeCreate ( SmbComNTCreateAndX request, SmbComNTCreateAndXResponse response ) {
            request.addFlags0(0x16);
            response.setExtended(true);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbFile#getType()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

            setResponse(resp);
            return resp;
        }
    
    
        /**
         * @param fl
         *            the flags0 to set
         */
        public final void addFlags0 ( int fl ) {
            this.flags0 |= fl;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                return;
            }
    
            ServerMessageBlock req = (ServerMessageBlock) request;
    
            req.addFlags2(this.negotiatedFlags2);
            req.setUseUnicode(req.isForceUnicode() || this.useUnicode);
            if ( req.isUseUnicode() ) {
                req.addFlags2(SmbConstants.FLAGS2_UNICODE);
            }
    
            if ( req instanceof SmbComTransaction ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java

         */
        public Smb2CancelRequest ( Configuration config, long mid, long asyncId ) {
            super(config, SMB2_CANCEL);
            setMid(mid);
            setAsyncId(asyncId);
            if ( asyncId != 0 ) {
                addFlags(SMB2_FLAGS_ASYNC_COMMAND);
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Request#getCreditCost()
         */
        @Override
        public int getCreditCost () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        /**
         * @return the flags
         */
        public final int getFlags () {
            return this.flags;
        }
    
    
        /**
         * 
         * @param flag
         */
        public final void addFlags ( int flag ) {
            this.flags |= flag;
        }
    
    
        /**
         * 
         * @param flag
         */
        public final void clearFlags ( int flag ) {
            this.flags &= ~flag;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         *            the flags2 to set
         */
        public final void setFlags2 ( int fl ) {
            this.flags2 = fl;
        }
    
    
        /**
         * @param fl
         */
        public final void addFlags2 ( int fl ) {
            this.flags2 |= fl;
        }
    
    
        /**
         * 
         * @param fl
         */
        public final void remFlags2 ( int fl ) {
            this.flags2 &= ~fl;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  8. istioctl/pkg/multicluster/remote_secret_test.go

    	o := RemoteSecretOptions{}
    	flags := pflag.NewFlagSet("test", pflag.ContinueOnError)
    	o.addFlags(flags)
    	g.Expect(flags.Parse([]string{
    		"--name",
    		"valid-name",
    	})).Should(Succeed())
    	g.Expect(o.prepare(ctx)).Should(Succeed())
    
    	o = RemoteSecretOptions{}
    	flags = pflag.NewFlagSet("test", pflag.ContinueOnError)
    	o.addFlags(flags)
    	g.Expect(flags.Parse([]string{
    		"--name",
    		"?-invalid-name",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. istioctl/pkg/multicluster/remote_secret.go

    				return err
    			}
    			if warn != nil {
    				_, _ = fmt.Fprintf(c.OutOrStderr(), "warn: %v\n", warn)
    			}
    			_, _ = fmt.Fprint(c.OutOrStdout(), out)
    			return nil
    		},
    	}
    	opts.addFlags(c.PersistentFlags())
    	return c
    }
    
    func createRemoteServiceAccountSecret(kubeconfig *api.Config, clusterName, secName string) (*v1.Secret, error) { // nolint:interfacer
    	var data bytes.Buffer
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. istioctl/cmd/root.go

    		"log_rotate_max_size", "log_stacktrace_level", "log_target", "log_caller", "log_output_level",
    	}
    	for _, opt := range hiddenFlags {
    		_ = rootCmd.PersistentFlags().MarkHidden(opt)
    	}
    
    	cmd.AddFlags(rootCmd)
    
    	kubeInjectCmd := kubeinject.InjectCommand(ctx)
    	hideInheritedFlags(kubeInjectCmd, cli.FlagNamespace)
    	rootCmd.AddCommand(kubeInjectCmd)
    
    	experimentalCmd := &cobra.Command{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Aug 05 02:08:47 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top