Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 702 for switch_a (0.1 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

            return dstIndex - start;
        }
    
    
        /**
         * @param informationLevel2
         * @return
         */
        static long mapInformationLevel ( int il ) {
            switch ( il ) {
            case FileInformation.FILE_BASIC_INFO:
                return 0x0101;
            case FileInformation.FILE_STANDARD_INFO:
                return 0x0102;
            case FileInformation.FILE_ENDOFFILE_INFO:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeParameter.java

     * support even a "normal" `TypeParameter<T>` when `<T>` has a nullable bound. (See the discussion
     * on TypeToken.where.) So, in the interest of failing fast and encouraging the user to switch to a
     * non-null bound if possible, let's require a non-null bound here.
     *
     * TODO(cpovirk): Elaborate on "wouldn't behave as users might expect."
     */
    public abstract class TypeParameter<T> extends TypeCapture<T> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

            return 0;
        }
    
    
        @Override
        public int getType () {
            /*
             * 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end
             */
            switch ( this.type & 0xFFFF ) {
            case 1:
                return SmbConstants.TYPE_PRINTER;
            case 3:
                return SmbConstants.TYPE_NAMED_PIPE;
            }
            return SmbConstants.TYPE_SHARE;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Feb 17 09:30:57 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  4. cmd/site-replication-utils_gen.go

    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "v":
    			z.Version, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Version")
    				return
    			}
    		case "ss":
    			err = z.Status.DecodeMsg(dc)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 14 15:16:40 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  5. cmd/copy-part-range.go

    package cmd
    
    import (
    	"context"
    	"net/http"
    	"net/url"
    )
    
    // Writes S3 compatible copy part range error.
    func writeCopyPartErr(ctx context.Context, w http.ResponseWriter, err error, url *url.URL) {
    	switch err {
    	case errInvalidRange:
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopyPartRange), url)
    		return
    	case errInvalidRangeSource:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 18 03:27:04 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. internal/config/api/api.go

    	switch listQuorum {
    	case "strict", "optimal", "reduced", "disk", "auto":
    	default:
    		return cfg, fmt.Errorf("invalid value %v for list_quorum: will default to 'strict'", listQuorum)
    	}
    	cfg.ListQuorum = listQuorum
    
    	replicationPriority := env.Get(EnvAPIReplicationPriority, kvs.GetWithDefault(apiReplicationPriority, DefaultKVS))
    	switch replicationPriority {
    	case "slow", "fast", "auto":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static void validateMethod(Method method) {
        String desc = method.toString();
    
        assertTrue(desc, isAnyEnter(method) || isWaitFor(method));
    
        switch (method.getParameterTypes().length) {
          case 0:
            assertFalse(desc, isGuarded(method));
            assertFalse(desc, isTimed(method));
            break;
          case 1:
            if (isDurationBased(method)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. internal/mountinfo/mountinfo_windows.go

    	wvolume := make([]uint16, len(path)+1)
    
    	if err := windows.GetVolumePathName(wpath, &wvolume[0], uint32(len(wvolume))); err != nil {
    		mountPointCache.Store(path, false)
    		return false
    	}
    
    	switch windows.GetDriveType(&wvolume[0]) {
    	case windows.DRIVE_FIXED, windows.DRIVE_REMOVABLE, windows.DRIVE_REMOTE, windows.DRIVE_RAMDISK:
    		// Recognize "fixed", "removable", "remote" and "ramdisk" drives as proper drives
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. cmd/iam-etcd-store.go

    		}
    		return err
    	}
    	return ies.addUser(ctx, user, userType, u, m)
    }
    
    func (ies *IAMEtcdStore) loadUsers(ctx context.Context, userType IAMUserType, m map[string]UserIdentity) error {
    	var basePrefix string
    	switch userType {
    	case svcUser:
    		basePrefix = iamConfigServiceAccountsPrefix
    	case stsUser:
    		basePrefix = iamConfigSTSPrefix
    	default:
    		basePrefix = iamConfigUsersPrefix
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. cmd/object-api-options.go

    				w.Header().Get(xhttp.AmzRequestHostID),
    			),
    		}
    
    		writeResponse(w, apiErr.HTTPStatusCode, encodeResponse(errResp), mimeXML)
    	}()
    
    	opts, err = getOpts(ctx, r, bucket, object)
    	if err != nil {
    		switch vErr := err.(type) {
    		case InvalidVersionID:
    			apiErr = toAPIError(ctx, vErr)
    			argumentName = strings.ToLower("versionId")
    			argumentValue = vErr.VersionID
    		default:
    			apiErr = toAPIError(ctx, vErr)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top