Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 2,125 for convert (0.04 seconds)

  1. src/main/java/org/codelibs/core/collection/IteratorEnumeration.java

     */
    package org.codelibs.core.collection;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Enumeration;
    import java.util.Iterator;
    
    /**
     * Adapter to convert an {@link Iterator} to an {@link Enumeration}.
     *
     * @author higa
     * @param <T> the element type
     */
    public class IteratorEnumeration<T> implements Enumeration<T> {
    
        /** 反復子 */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. .github/release-drafter.yml

    # Override replacers to strip backport branch prefixes and handle JIRA links
    replacers:
      # Strip backport branch prefixes like [maven-4.0.x], [maven-3.x], etc.
      - search: '/^\[maven-[\d\.x-]+\]\s*-?\s*/g'
        replace: ''
      # Convert JIRA ticket references to links (but not maven branch prefixes)
      - search: '/\[([A-Z]+)-(\d+)\]\s*-?\s*/g'
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 13:07:10 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. internal/s3select/sql/aggregation.go

    	case aggFnCount:
    		// For all non-null values, the count is incremented.
    		e.aggregate.runningCount++
    
    	case aggFnAvg, aggFnSum:
    		e.aggregate.runningCount++
    		// Convert to float.
    		f, ok := argVal.ToFloat()
    		if !ok {
    			return fmt.Errorf("Could not convert value %v (%s) to a number", argVal.value, argVal.GetTypeString())
    		}
    		argVal.setFloat(f)
    		err = e.aggregate.runningSum.arithOp(opPlus, argVal)
    
    	case aggFnMin:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

        }
    
        /**
         * Converts a Lucene BooleanQuery to an OpenSearch BoolQueryBuilder.
         * @param context The query context.
         * @param booleanQuery The boolean query to convert.
         * @param boost The boost factor to apply.
         * @return The converted BoolQueryBuilder.
         */
        protected QueryBuilder convertBooleanQuery(final QueryContext context, final BooleanQuery booleanQuery, final float boost) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. cmd/warm-backend-azure.go

    		vid = *resp.VersionID
    	}
    	return remoteVersionID(vid), nil
    }
    
    func (az *warmBackendAzure) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) {
    	return az.PutWithMeta(ctx, object, r, length, map[string]string{})
    }
    
    func (az *warmBackendAzure) Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (r io.ReadCloser, err error) {
    	if opts.startOffset < 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Oct 31 22:10:24 GMT 2024
    - 7K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/stream-data.md

    In the examples above, the data bytes were streamed, but the response didn't have a `Content-Type` header, so the client didn't know what type of data it was receiving.
    
    You can create a custom sub-class of `StreamingResponse` that sets the `Content-Type` header to the type of data you're streaming.
    
    For example, you can create a `PNGStreamingResponse` that sets the `Content-Type` header to `image/png` using the `media_type` attribute:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  7. ci/official/utilities/convert_msys_paths_to_win_paths.py

        # with forward slashes, e.g. 'C:/Program Files', instead of
        # '/c/Program Files', thus becoming converted simply by virtue of having
        # been read.
        converted_vars[var] = value
    
      var_str = '\n'.join(f'{k}="{v}"'
                          for k, v in converted_vars.items())
      # The string can then be piped into `source`, to re-set the
      # 'converted' variables.
      print(var_str)
    
    
    if __name__ == '__main__':
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Aug 07 23:01:25 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/response-cookies.md

    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java

                    .result());
        }
    
        /**
         * Creates a ListBody from a DictionaryFile for API responses.
         *
         * @param dictionaryFile the dictionary file to convert
         * @return the converted ListBody object
         */
        protected ListBody createListBody(final DictionaryFile<? extends DictionaryItem> dictionaryFile) {
            final ListBody body = new ListBody();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java

     * </ul>
     */
    public final class SuggestItemSerializer {
    
        private SuggestItemSerializer() {
            // Utility class
        }
    
        /**
         * Converts a SuggestItem to a source map for OpenSearch indexing.
         *
         * @param item The SuggestItem to convert
         * @return A Map containing all fields for indexing
         */
        public static Map<String, Object> toSource(final SuggestItem item) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
Back to Top