Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 506 for flag (0.03 sec)

  1. src/bufio/bufio.go

    	var frag []byte
    	// Use ReadSlice to look for delim, accumulating full buffers.
    	for {
    		var e error
    		frag, e = b.ReadSlice(delim)
    		if e == nil { // got final fragment
    			break
    		}
    		if e != ErrBufferFull { // unexpected error
    			err = e
    			break
    		}
    
    		// Make a copy of the buffer.
    		buf := bytes.Clone(frag)
    		fullBuffers = append(fullBuffers, buf)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  2. 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)
  3. cmd/xl-storage-format-v2.go

    		return v > 0
    	}
    	// On ID mismatch
    	if v := bytes.Compare(x.VersionID[:], o.VersionID[:]); v != 0 {
    		return v > 0
    	}
    	// Flags
    	if x.Flags != o.Flags {
    		return x.Flags > o.Flags
    	}
    	return false
    }
    
    func (j xlMetaV2Version) getDataDir() string {
    	if j.Valid() {
    		switch j.Type {
    		case LegacyType:
    			return j.ObjectV1.DataDir
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    
    /**
     * 
     * @author mbechler
     *
     */
    public class Trans2FindFirst2 extends SmbComTransaction {
    
        // flags
    
        static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01;
        static final int FLAGS_CLOSE_IF_END_REACHED = 0x02;
        static final int FLAGS_RETURN_RESUME_KEYS = 0x04;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  5. cmd/sftp-server-driver.go

    	// This is not timing the actual read operation, but the time it takes to prepare the reader.
    	stopFn := globalSftpMetrics.log(r, f.AccessKey())
    	defer stopFn(0, err)
    
    	flags := r.Pflags()
    	if !flags.Read {
    		// sanity check
    		return nil, os.ErrInvalid
    	}
    
    	bucket, object := path2BucketObject(r.Filepath)
    	if bucket == "" {
    		return nil, errors.New("bucket name cannot be empty")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

            }
        }
    
    
        SmbFileHandleImpl openUnshared ( int flags, int access, int sharing, int attrs, int options ) throws CIFSException {
            return openUnshared(getUncPath(), flags, access, sharing, attrs, options);
        }
    
    
        SmbFileHandleImpl openUnshared ( String uncPath, int flags, int access, int sharing, int attrs, int options ) throws CIFSException {
            SmbFileHandleImpl fh = null;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    // queueMsg queues a message, with an optional payload.
    // sender should not reference msg.Payload
    func (c *Connection) queueMsg(msg message, payload sender) error {
    	// Add baseflags.
    	msg.Flags.Set(c.baseFlags)
    	// This cannot encode subroute.
    	msg.Flags.Clear(FlagSubroute)
    	if payload != nil {
    		if sz := payload.Msgsize(); cap(msg.Payload) < sz {
    			PutByteBuffer(msg.Payload)
    			msg.Payload = GetByteBufferCap(sz)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

            @CheckForNull Inet4Address server, @CheckForNull Inet4Address client, int port, int flags) {
          checkArgument(
              (port >= 0) && (port <= 0xffff), "port '%s' is out of range (0 <= port <= 0xffff)", port);
          checkArgument(
              (flags >= 0) && (flags <= 0xffff),
              "flags '%s' is out of range (0 <= flags <= 0xffff)",
              flags);
    
          this.server = MoreObjects.firstNonNull(server, ANY4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrCloseHandle.java

    import jcifs.smb1.dcerpc.rpc;
    
    public class MsrpcSamrCloseHandle extends samr.SamrCloseHandle {
    
        public MsrpcSamrCloseHandle(rpc.policy_handle policyHandle) {
            super(policyHandle);
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicy.java

        public MsrpcQueryInformationPolicy ( LsaPolicyHandle policyHandle, short level, NdrObject info ) {
            super(policyHandle, level, info);
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
Back to top