Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,073 for wrappy (0.17 sec)

  1. tensorflow/cc/experimental/base/public/status.h

      friend class SavedModelAPI;
      friend class TensorHandle;
    
      // Wraps a TF_Status*, and takes ownership of it.
      explicit Status(TF_Status* status) : status_(status) {}
    
      // Status is not copyable
      Status(const Status&) = delete;
      Status& operator=(const Status&) = delete;
    
      // Returns the TF_Status that this object wraps. This object
      // retains ownership of the pointer.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/WeakIdentityHashMap.java

    import java.lang.ref.WeakReference;
    import java.util.HashMap;
    import java.util.Set;
    
    /**
     * A specialized map wrapper, that uses weak references for keys and stores
     * values as strong references. It allows the garbage collector to collect keys when they are no longer in use.
     *
     * Keys are stored wrapped in {@code WeakIdentityHashMap.WeakKey} weak reference implementation, that uses {@code System.identityHashCode}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/CircularEvaluationSpec.groovy

             * @return the property instance
             */
            abstract PropertyInternal<T> property()
    
            def "calling #consumer throws exception with proper chain if wrapped provider forms a cycle"(
                Consumer<ProviderInternal<?>> consumer
            ) {
                given:
                def property = property()
                def provider = wrapProviderWithProviderUnderTest(property)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/DeadEvent.java

      }
    
      /**
       * Returns the object that originated this event (not the object that originated the
       * wrapped event). This is generally an {@link EventBus}.
       *
       * @return the source of this event.
       */
      public Object getSource() {
        return source;
      }
    
      /**
       * Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered
       * subscriber.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/eventbus/DeadEvent.java

      }
    
      /**
       * Returns the object that originated this event (not the object that originated the
       * wrapped event). This is generally an {@link EventBus}.
       *
       * @return the source of this event.
       */
      public Object getSource() {
        return source;
      }
    
      /**
       * Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered
       * subscriber.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  6. pilot/pkg/model/kstatus/helper.go

    	}
    }
    
    // WrappedStatus provides a wrapper around a status message that keeps track of whether or not any
    // changes have been made. This allows users to declarative write status, without worrying about
    // tracking changes. When read to commit (typically to Kubernetes), any messages with Dirty=false can
    // be discarded.
    type WrappedStatus struct {
    	// Status is the object that is wrapped.
    	config.Status
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 17:36:41 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

            else
                input.invoke()
    
        /**
         * Wraps an inner closeable into an outer closeable, while ensuring that
         * if the wrapper function fails, the inner closeable is closed before
         * the exception is thrown.
         *
         * @param innerSupplier the supplier that produces the inner closeable that is to be safely wrapped
         * @param unsafeWrapper a wrapping function that is potentially unsafe
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. pkg/backoff/exponential.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // Package backoff is a wrapper of `github.com/cenkalti/backoff/v4`.
    // It is to prevent misuse of `github.com/cenkalti/backoff/v4`,
    // thus application could fall into dead loop.
    package backoff
    
    import (
    	"context"
    	"fmt"
    	"time"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 25 01:53:48 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/reinvocation.go

    // newReinvocationHandler creates a handler that wraps the provided admission chain and reinvokes it
    // if needed according to re-invocation policy of the webhooks.
    func newReinvocationHandler(admissionChain Interface) Interface {
    	return &reinvoker{admissionChain}
    }
    
    type reinvoker struct {
    	admissionChain Interface
    }
    
    // Admit performs an admission control check using the wrapped admission chain, reinvoking the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/authentication/authenticator/audagnostic.go

    	if err != nil || !ok {
    		return nil, false, err
    	}
    	if len(resp.Audiences) > 0 {
    		// maybe the authenticator was audience aware after all.
    		return nil, false, fmt.Errorf("audience agnostic authenticator wrapped an authenticator that returned audiences: %q", resp.Audiences)
    	}
    	resp.Audiences = auds
    	return resp, true, nil
    }
    
    type audAgnosticRequestAuthenticator struct {
    	implicit Audiences
    	delegate Request
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 31 22:31:49 UTC 2018
    - 2.8K bytes
    - Viewed (0)
Back to top