Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,530 for Handles (0.13 sec)

  1. test/fixedbugs/issue33903.go

    // compile
    
    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Check that the shortcircuit pass correctly handles infinite loops.
    
    package p
    
    func f() {
    	var p, q bool
    	for {
    		p = p && q
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 29 17:41:49 UTC 2019
    - 305 bytes
    - Viewed (0)
  2. src/log/slog/handler.go

    // manage this concurrency.
    //
    // Users of the slog package should not invoke Handler methods directly.
    // They should use the methods of [Logger] instead.
    type Handler interface {
    	// Enabled reports whether the handler handles records at the given level.
    	// The handler ignores records whose level is lower.
    	// It is called early, before any arguments are processed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/metadata/SwiftcMetadataProviderTest.groovy

            output(SWIFTC_OUTPUT_MAC_OS).component.version.with { [major, minor, micro] } == [4, 0, 2]
            output(SWIFTC_OUTPUT_LINUX).component.version.with { [major, minor, micro] } == [3, 1, 1]
        }
    
        def "handles output that cannot be parsed"() {
            def visitor = new TreeFormatter()
    
            expect:
            def result = output(out)
            !result.available
    
            when:
            result.explain(visitor)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/meta/firsthit_restmapper.go

    	}
    
    	return nil, collapseAggregateErrors(errors)
    }
    
    func (m FirstHitRESTMapper) Reset() {
    	m.MultiRESTMapper.Reset()
    }
    
    // collapseAggregateErrors returns the minimal errors.  it handles empty as nil, handles one item in a list
    // by returning the item, and collapses all NoMatchErrors to a single one (since they should all be the same)
    func collapseAggregateErrors(errors []error) error {
    	if len(errors) == 0 {
    		return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java

     * the License.
     */
    
    package com.google.common.eventbus;
    
    
    /**
     * Handler for exceptions thrown by event subscribers.
     *
     * @since 16.0
     */
    @ElementTypesAreNonnullByDefault
    public interface SubscriberExceptionHandler {
      /** Handles exceptions thrown by subscribers. */
      void handleException(Throwable exception, SubscriberExceptionContext context);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 928 bytes
    - Viewed (0)
  6. test/fixedbugs/issue42727.go

    // compile
    
    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Ensure that late expansion correctly handles an OpLoad with type interface{}
    
    package p
    
    type iface interface {
    	m()
    }
    
    type it interface{}
    
    type makeIface func() iface
    
    func f() {
    	var im makeIface
    	e := im().(it)
    	_ = &e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 20 17:31:50 UTC 2020
    - 400 bytes
    - Viewed (0)
  7. security/pkg/nodeagent/test/mock/caserver.go

    	}
    	cert := pem.EncodeToMemory(block)
    
    	return cert, nil
    }
    
    // Check handles health check requests.
    func (s *CAServer) Check(ctx context.Context, in *ghc.HealthCheckRequest) (*ghc.HealthCheckResponse, error) {
    	return &ghc.HealthCheckResponse{
    		Status: ghc.HealthCheckResponse_SERVING,
    	}, nil
    }
    
    // Watch handles health check streams.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/syscall/exec_windows.go

    	NoInheritHandles           bool                // if set, no handles are inherited by the new process, not even the standard handles, contained in ProcAttr.Files, nor the ones contained in AdditionalInheritedHandles
    	AdditionalInheritedHandles []Handle            // a list of additional handles, already marked as inheritable, that will be inherited by the new process
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 18:29:48 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/IntermediateResultHandler.java

     * limitations under the License.
     */
    package org.gradle.tooling;
    
    /**
     * A handler for an intermediate result obtained by a {@link BuildActionExecuter}.
     *
     * @param <T> The result type.
     * @since 4.8
     */
    public interface IntermediateResultHandler<T> {
    
        /**
         * Handles successful completion of the action.
         *
         * @param result the result
         */
        void onComplete(T result);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 973 bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      const std::vector<std::unique_ptr<ParallelTensor>>& handles = *outputs;
      std::vector<ParallelTensor*> handle_inputs;
      handle_inputs.reserve(handles.size());
      for (auto& handle : handles) {
        handle_inputs.push_back(handle.get());
      }
      std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> read_op(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 08 23:47:35 UTC 2021
    - 15.3K bytes
    - Viewed (0)
Back to top