Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 351 for wraps (1.02 sec)

  1. cmd/admin-handler-utils.go

    	}
    	return toAPIErrorCode(ctx, err)
    }
    
    // wraps export error for more context
    func exportError(ctx context.Context, err error, fname, entity string) APIError {
    	if entity == "" {
    		return toAPIError(ctx, fmt.Errorf("error exporting %s with: %w", fname, err))
    	}
    	return toAPIError(ctx, fmt.Errorf("error exporting %s from %s with: %w", entity, fname, err))
    }
    
    // wraps import error for more context
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. tests/test_dependency_wrapped.py

    def noop_wrap(func):
        @wraps(func)
        def wrapper(*args, **kwargs):
            return func(*args, **kwargs)
    
        return wrapper
    
    
    def noop_wrap_async(func):
        if inspect.isgeneratorfunction(func):
    
            @wraps(func)
            async def gen_wrapper(*args, **kwargs):
                async for item in iterate_in_threadpool(func(*args, **kwargs)):
                    yield item
    
            return gen_wrapper
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/MultiIterator.java

        protected final Iterator<E>[] iterators;
    
        /** Index of the currently iterated {@link Iterator}. */
        protected int index;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link MultiIterator} for use in a for-each statement.
         *
         * @param <E> the element type
         * @param iterables the array of {@link Iterable} (must not be {@literal null})
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/InstantiationRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception that wraps {@link InstantiationException}.
     *
     * @author higa
     */
    public class InstantiationRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 5220902071756706607L;
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/NoSuchFieldRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception that wraps {@link NoSuchFieldException}.
     *
     * @author higa
     */
    public class NoSuchFieldRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 6609175673610180338L;
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/FessAppService.java

        public FessAppService() {
            // Default constructor
        }
    
        /**
         * Wraps a query string with wildcard characters to enable partial matching.
         * This method ensures that the query string is surrounded by asterisks (*)
         * to support prefix and suffix matching in search operations.
         *
         * @param query the query string to wrap with wildcards
         * @return the wrapped query string with leading and trailing asterisks
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/EnumerationIterator.java

     * @author shot
     * @param <T> the element type
     */
    public class EnumerationIterator<T> implements Iterator<T> {
    
        private Enumeration<T> enumeration = null;
    
        /**
         * Returns an {@link Iterable} that wraps an {@link Enumeration} for use in a for-each statement.
         *
         * @param <T> the element type
         * @param enumeration the enumeration (must not be {@literal null})
         * @return an {@link Iterable} wrapping the enumeration
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. docs/sts/client_grants/sts_element.py

    else:
        _ETREE_EXCEPTIONS = (SyntaxError, AttributeError, ValueError, TypeError)
    
    _STS_NS = {'sts': 'https://sts.amazonaws.com/doc/2011-06-15/'}
    
    
    class STSElement(object):
        """STS aware XML parsing class. Wraps a root element name and
        cElementTree.Element instance. Provides STS namespace aware parsing
        functions.
    
        """
    
        def __init__(self, root_name, element):
            self.root_name = root_name
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

     *
     * @author koichik
     */
    public class ClassLoaderIterator implements Iterator<ClassLoader> {
    
        /** クラスローダ */
        protected ClassLoader classLoader;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link ClassLoaderIterator} for use in a for-each statement.
         *
         * @param classLoader the class loader (must not be {@literal null})
         * @return an {@link Iterable} wrapping a {@link ClassLoaderIterator}
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/exception/InvalidKeyRuntimeException.java

    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.security.InvalidKeyException;
    import java.security.NoSuchAlgorithmException;
    
    /**
     * Exception that wraps {@link NoSuchAlgorithmException}.
     *
     * @author shinsuke
     */
    public class InvalidKeyRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -3176447530746274091L;
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top