Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 7,250 for return (0.05 sec)

  1. cmd/last-minute_gen.go

    				err = msgp.WrapError(err, "Size")
    				return
    			}
    		case "N":
    			z.N, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "N")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z AccElem) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 3
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
  2. cmd/erasure-metadata-utils.go

    	if totalSize < -1 {
    		return 0, errInvalidArgument
    	}
    	if partSize == 0 {
    		return 0, errPartSizeZero
    	}
    	if partIndex < 1 {
    		return 0, errPartSizeIndex
    	}
    	if totalSize == -1 {
    		return -1, nil
    	}
    	if totalSize > 0 {
    		// Compute the total count of parts
    		partsCount := totalSize/partSize + 1
    		// Return the part's size
    		switch {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. cmd/storage-rest-common_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.ScanMode)
    	if err != nil {
    		err = msgp.WrapError(err, "ScanMode")
    		return
    	}
    	// write "c"
    	err = en.Append(0xa1, 0x63)
    	if err != nil {
    		return
    	}
    	if z.Cache == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = z.Cache.EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "Cache")
    			return
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                return cfg.getBatchLimit("TreeConnectAndX.OpenAndX");
            case SMB_COM_RENAME:
                return cfg.getBatchLimit("TreeConnectAndX.Rename");
            case SMB_COM_TRANSACTION:
                return cfg.getBatchLimit("TreeConnectAndX.Transaction");
            case SMB_COM_QUERY_INFORMATION:
                return cfg.getBatchLimit("TreeConnectAndX.QueryInformation");
            }
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

            // why isn't this just return batchLimits[c]?
            switch( c ) {
                case SMB_COM_CHECK_DIRECTORY:
                    return batchLimits[0];
                case SMB_COM_CREATE_DIRECTORY:
                    return batchLimits[2];
                case SMB_COM_DELETE:
                    return batchLimits[3];
                case SMB_COM_DELETE_DIRECTORY:
                    return batchLimits[4];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

         */
        @Override
        public Exception getException () {
            return this.exception;
        }
    
    
        /**
         * 
         * @return error status code
         */
        @Override
        public final int getErrorCode () {
            return getStatus();
        }
    
    
        /**
         * 
         * @return whether signature verification failed
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

                        Artifact.SNAPSHOT_VERSION,
                        0,
                        Artifact.SNAPSHOT_VERSION.length())) {
                    return true;
                } else {
                    return Artifact.VERSION_FILE_PATTERN.matcher(version).matches();
                }
            }
            return false;
        }
    
        public static String toSnapshotVersion(String version) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. cmd/lock-rest-server.go

    	resp := lockRPCRefresh.NewResponse()
    	refreshed, err := l.ll.Refresh(context.Background(), *args)
    	if err != nil {
    		return l.makeResp(resp, err)
    	}
    	if !refreshed {
    		return l.makeResp(resp, errLockNotFound)
    	}
    	return l.makeResp(resp, err)
    }
    
    // LockHandler - Acquires a lock.
    func (l *lockRESTServer) LockHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

            case CrudMode.CREATE:
                return OptionalEntity.of(new Role()).map(entity -> {
                    entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(RoleService.class).getRole(((EditForm) form).id);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

                }
            }
    
            return success(model, problemsList);
        }
    
        /**
         * Error with problems describing the cause
         *
         * @param problems
         */
        public static <T> Result<T> error(Iterable<? extends ModelProblem> problems) {
            return error(null, problems);
        }
    
        public static <T> Result<T> error(T model) {
            return error(model, Collections.emptyList());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top