Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1791 - 1800 of 7,250 for return (0.09 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

            case CrudMode.CREATE:
                return OptionalEntity.of(new Group()).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(GroupService.class).getGroup(((EditForm) form).id);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

            case CrudMode.CREATE:
                return OptionalEntity.of(new PathMapping()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. internal/s3select/jstream/scanner.go

    // maximum possible integer value will be returned
    func (s *scanner) remaining() int64 {
    	if atomic.LoadInt64(&s.end) == maxInt {
    		return maxInt
    	}
    	return atomic.LoadInt64(&s.end) - s.pos
    }
    
    // read byte at current position (without advancing)
    func (s *scanner) cur() byte { return s.buf[s.ipos] }
    
    // read next byte
    func (s *scanner) next() byte {
    	if s.pos >= atomic.LoadInt64(&s.end) {
    		return nullByte
    	}
    	s.ipos++
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * @return The value of found property. (NotNull: if not found, exception)
         * @throws ConfigPropertyNotFoundException When the property is not found.
         */
        String get(String propertyKey);
    
        /**
         * Is the property true?
         * @param propertyKey The key of the property which is boolean type. (NotNull)
         * @return The determination, true or false. (if not found, exception)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 468.5K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            if (title == null) {
                return StringUtil.EMPTY; // empty
            }
    
            final int[] spaceChars = getSpaceChars();
            try (final Reader reader = new StringReader(title)) {
                return TextUtil.normalizeText(reader).initialCapacity(title.length()).spaceChars(spaceChars).execute();
            } catch (final IOException e) {
                return StringUtil.EMPTY; // empty
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. istioctl/pkg/metrics/metrics.go

    	case model.Vector:
    		if v.Len() < 1 {
    			log.Debugf("no values for query: %s", query)
    			return 0, nil
    		}
    
    		return float64(v[0].Value), nil
    	default:
    		return 0, errors.New("bad metric value type returned for query")
    	}
    }
    
    func convertLatencyToDuration(val float64) time.Duration {
    	return time.Duration(val) * time.Millisecond
    }
    
    func printHeader(writer io.Writer) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. internal/http/transports.go

    	return func() *http.Transport {
    		return tr
    	}
    }
    
    // NewHTTPTransportWithTimeout allows setting a timeout for response headers
    func (s ConnSettings) NewHTTPTransportWithTimeout(timeout time.Duration) *http.Transport {
    	tr := s.getDefaultTransport(0)
    
    	// Settings specific to this transport.
    	tr.ResponseHeaderTimeout = timeout
    	return tr
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

        }
    
        @Override
        public ModelBuildingRequest setFileModel(Model fileModel) {
            this.fileModel = fileModel;
            return this;
        }
    
        @Override
        public Model getRawModel() {
            return null;
        }
    
        @Override
        public ModelBuildingRequest setRawModel(Model rawModel) {
            return this;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

                saveError(messages -> messages.addErrorsDocidNotFound(GLOBAL, form.docId));
                return redirect(ErrorAction.class);
            }
    
            final String content = viewHelper.createCacheContent(doc, form.hq);
            if (content == null) {
                saveError(messages -> messages.addErrorsDocidNotFound(GLOBAL, form.docId));
                return redirect(ErrorAction.class);
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

        }
        return dummy;
      }
    
      @Benchmark
      int copyPreSizedArrayList(int reps) {
        int size = this.size;
        int tmp = 0;
        for (int rep = 0; rep < reps; rep++) {
          List<Object> builder = Lists.newArrayListWithCapacity(size);
          for (int i = 0; i < size; i++) {
            builder.add(OBJECT);
          }
          tmp += ImmutableList.copyOf(builder).size();
        }
        return tmp;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
Back to top