Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,073 for wrappy (0.15 sec)

  1. platforms/core-runtime/functional/src/main/java/org/gradle/internal/io/IoRunnable.java

     */
    @FunctionalInterface
    public interface IoRunnable {
        void run() throws IOException;
    
        /**
         * Wraps an {@link IOException}-throwing {@link IoRunnable} into a regular {@link Runnable}.
         *
         * Any {@code IOException}s are rethrown as {@link UncheckedIOException}.
         */
        static Runnable wrap(IoRunnable runnable) {
            return () -> {
                try {
                    runnable.run();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CountingOutputStream.java

    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class CountingOutputStream extends FilterOutputStream {
    
      private long count;
    
      /**
       * Wraps another output stream, counting the number of bytes written.
       *
       * @param out the output stream to be wrapped
       */
      public CountingOutputStream(OutputStream out) {
        super(checkNotNull(out));
      }
    
      /** Returns the number of bytes written. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/runtime/runtime.go

    				lastErr = errors.Wrapf(err, "failed to stop running pod %s", container)
    				cancel()
    				continue
    			}
    			cancel()
    
    			ctx, cancel = defaultContext()
    			if err := runtime.impl.RemovePodSandbox(ctx, runtime.runtimeService, container); err != nil {
    				lastErr = errors.Wrapf(err, "failed to remove pod %s", container)
    				cancel()
    				continue
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/UserCodeAction.java

     */
    
    package org.gradle.api.internal;
    
    import org.gradle.api.Action;
    import org.gradle.api.InvalidUserCodeException;
    
    /**
     * A delegating {@link Action} implementation that wraps exceptions in InvalidUserCodeException.
     * Used to wrap a closure or action parameter that contains user-provided executable code.
     * @param <T>
     */
    public class UserCodeAction<T> implements Action<T> {
        private final String exceptionMessage;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/internal/concrete_function_type.h

    // Internal structures used by the SavedModel C API. These are likely to change
    // and should not be depended on.
    
    // It doesn't make sense to wrap tensorflow::ConcreteFunction* in a separate
    // struct, since the lifetime of the struct and the raw pointer it wraps would
    // be different. Therefore TF_ConcreteFunction* = tensorflow::ConcreteFunction*.
    typedef struct TF_ConcreteFunction TF_ConcreteFunction;
    
    namespace tensorflow {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 29 01:58:17 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/webhook/client.go

    		}),
    	}, nil
    }
    
    // SetAuthenticationInfoResolverWrapper sets the
    // AuthenticationInfoResolverWrapper.
    func (cm *ClientManager) SetAuthenticationInfoResolverWrapper(wrapper AuthenticationInfoResolverWrapper) {
    	if wrapper != nil {
    		cm.authInfoResolver = wrapper(cm.authInfoResolver)
    	}
    }
    
    // SetAuthenticationInfoResolver sets the AuthenticationInfoResolver.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 09:09:10 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.h"
    
    namespace mlir {
    namespace TFL {
    
    // Moves the TF operations out from the tfl.TFCustomOps wrappers inside the
    // function. This is a no-op for the ops which are not wrapped.
    LogicalResult UnwrapTFCustomOps(func::FuncOp fn, OpBuilder& builder) {
      llvm::SmallVector<Operation*, 4> wrapped_ops;
      fn.walk([&](TFL::CustomTfOp custom_op) {
        auto* real_op = &custom_op.getBody().front().front();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/users/users_linux.go

    	}
    
    	// Parse the files.
    	users, err := parseEntries(fileUsers, totalFieldsUser)
    	if err != nil {
    		return nil, errors.Wrapf(err, "could not parse %q", pathUsers)
    	}
    	groups, err := parseEntries(fileGroups, totalFieldsGroup)
    	if err != nil {
    		return nil, errors.Wrapf(err, "could not parse %q", pathGroups)
    	}
    
    	klog.V(klogLevel).Info("Validating existing users and groups")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/stmt.go

    	case ir.OCALLFUNC:
    		call := call.(*ir.CallExpr)
    
    		// If the callee is a named function, link to the original callee.
    		if wrapped := ir.StaticCalleeName(call.Fun); wrapped != nil {
    			wrapperFn.WrappedFunc = wrapped.Func
    		}
    
    		visit(&call.Fun)
    		visitList(call.Args)
    
    	case ir.OCALLINTER:
    		call := call.(*ir.CallExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/CurrentBuildOperationPreservingRunnable.java

                // Even if the build operation of the delegate would be different, it would override a new wrapper anyway,
                // so we can just return the delegate.
                return delegate;
            }
            BuildOperationRef buildOperation = ref.get();
            if (buildOperation == null) {
                // No build operation, so no need to wrap.
                return delegate;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top