Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of over 10,000 for Switch (0.32 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

            }
            return OptionalEntity.empty();
        }
    
        /**
         * Converts a form to a WebAuthentication entity with proper user and timestamp information.
         *
         * @param form the form containing the web authentication data
         * @return an optional WebAuthentication entity with updated metadata
         */
        public static OptionalEntity<WebAuthentication> getWebAuthentication(final CreateForm form) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  2. cmd/metacache-walk.go

    			}
    			meta.metadata, err = s.readMetadata(ctx, pathJoinBuf(sb, volumeDir, meta.name, xlStorageFormatFile))
    			if s.walkReadMu != nil {
    				s.walkReadMu.Unlock()
    			}
    			diskHealthCheckOK(ctx, err)
    			switch {
    			case err == nil:
    				// It was an object
    				if isDirObj {
    					meta.name = strings.TrimSuffix(meta.name, globalDirSuffixWithSlash) + slashSeparator
    				}
    				if err := send(meta); err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 26 07:06:43 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

        //                                                                        ============
    
        private static OptionalEntity<RelatedQuery> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new RelatedQuery()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

         * Gets a group entity based on the form.
         *
         * @param form the create form
         * @return optional group entity
         */
        private static OptionalEntity<Group> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new Group()).map(entity -> {
                    entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16K bytes
    - Click Count (0)
  5. cmd/erasure.go

    func (er erasureObjects) defaultRQuorum() int {
    	return er.setDriveCount - er.defaultParityCount
    }
    
    func diskErrToDriveState(err error) (state string) {
    	switch {
    	case errors.Is(err, errDiskNotFound) || errors.Is(err, context.DeadlineExceeded):
    		state = madmin.DriveStateOffline
    	case errors.Is(err, errCorruptedFormat) || errors.Is(err, errCorruptedBackend):
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Converter.java

     * existing users, but it can't *fix* existing users because any users who needed
     * `Function<@Nullable A, @Nullable B>` already had to find a workaround. Still, there is a *ton* of
     * fallout from trying to switch. I would be shocked if the switch would offer benefits to anywhere
     * near enough users to justify the costs.
     *
     * Fortunately, if anyone does want to use a Converter as a `Function<@Nullable A, @Nullable B>`,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         * @param type the referent type
         */
        public void enc_ndr_referent(final Object obj, final int type) {
            if (obj == null) {
                enc_ndr_long(0);
                return;
            }
            switch (type) {
            case 1: /* unique */
            case 3: /* ref */
                enc_ndr_long(System.identityHashCode(obj));
                return;
            case 2: /* ptr */
                enc_ndr_long(getDceReferent(obj));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

                return null;
            }
    
            try {
                return storage.get(BlobId.of(bucketName, path));
            } catch (final StorageException e) {
                final int code = e.getCode();
                switch (code) {
                case 404:
                    if (logger.isDebugEnabled()) {
                        logger.debug("Object not found: bucket={}, path={}", bucketName, path);
                    }
                    break;
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

        //                                                                        ============
        private static OptionalEntity<BadWord> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new BadWord()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  10. cmd/background-newdisks-heal-ops_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 "ID":
    			z.ID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "ID")
    				return
    			}
    		case "PoolIndex":
    			z.PoolIndex, err = dc.ReadInt()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 24.6K bytes
    - Click Count (0)
Back to Top