Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 1,561 for Handle (0.05 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

         * @return true if the option should be enabled
         */
        default boolean isOptionEnabled(
                UpgradeOptions options, Optional<Boolean> specificOption, boolean defaultWhenNoOptionsSpecified) {
            // Handle --all option (overrides individual options)
            boolean useAll = options.all().orElse(false);
            if (useAll) {
                return true;
            }
    
            // Check specific option
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/ReplaceByKey.java

    package org.elasticsearch.gradle.internal.test.rest.transform;
    
    import com.fasterxml.jackson.databind.JsonNode;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.Optional;
    
    /**
     * An abstract common class to handle replacing key and values under a parent object
     * This class can be subclass to transform the
     * "getKeyToFind": {"requiredChildKey": "foo"}
     * into
     * "getKeyToFind": {"newChildKey": "getReplacementNode"}
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle encoding at buffer boundary")
            void testEncodingAtBufferBoundary() {
                byte[] smallBuffer = new byte[24];
                lock = new Smb2Lock(100L, 200L, 1);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

                }
    
                setupMockConfig("localhost:9200", "", "", invalidCertFile.getAbsolutePath());
    
                curlHelper.init();
    
                // Should handle invalid certificate gracefully
                SSLSocketFactory sslSocketFactory = getSSLSocketFactory(curlHelper);
                assertNull(sslSocketFactory);
    
            } catch (IOException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

       *
       * @param executor Executor to use to dispatch events. It is the caller's responsibility to shut
       *     down the executor after the last event has been posted to this event bus.
       * @param subscriberExceptionHandler Handler used to handle exceptions thrown from subscribers.
       *     See {@link SubscriberExceptionHandler} for more information.
       * @since 16.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  6. tensorflow/c/c_api.cc

        memcpy(buf, new_handle.c_str(), new_handle.size() + 1);
        *handle = buf;
      }
    }
    
    void TF_DeletePRunHandle(const char* handle) {
      delete[] handle;
      // TODO(suharshs): Free up any resources held by the partial run state.
    }
    
    void TF_SessionPRun(TF_Session* session, const char* handle,
                        const TF_Output* inputs, TF_Tensor* const* input_values,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

            assertNull(exception.getCause(), "Cause should be null when not specified");
        }
    
        @ParameterizedTest
        @DisplayName("Message constructor should handle crypto-specific error messages")
        @NullAndEmptySource
        @ValueSource(strings = { "AES encryption not supported", "Missing Bouncy Castle provider", "Invalid key length for AES-128",
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/ParseRequest.java

        this.radix = radix;
      }
    
      static ParseRequest fromString(String stringValue) {
        if (stringValue.isEmpty()) {
          throw new NumberFormatException("empty string");
        }
    
        // Handle radix specifier if present
        String rawValue;
        int radix;
        char firstChar = stringValue.charAt(0);
        if (stringValue.startsWith("0x") || stringValue.startsWith("0X")) {
          rawValue = stringValue.substring(2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  9. logger/slog.go

    		ctx = context.Background()
    	}
    
    	if !l.Logger.Enabled(ctx, level) {
    		return
    	}
    
    	r := slog.NewRecord(time.Now(), level, msg, utils.CallerFrame().PC)
    	r.Add(args...)
    	_ = l.Logger.Handler().Handle(ctx, r)
    }
    
    // ParamsFilter filter params
    func (l *slogLogger) ParamsFilter(ctx context.Context, sql string, params ...interface{}) (string, []interface{}) {
    	if l.Parameterized {
    		return sql, nil
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4ConnectionMonitorTarget.java

    import org.codelibs.core.timer.TimeoutTarget;
    
    /**
     * Hc4ConnectionMonitorTarget is responsible for monitoring and managing HTTP client connections
     * for Apache HttpComponents 4.x. It implements the TimeoutTarget interface to handle connection
     * expiration events.
     *
     * <p>This class uses an instance of HttpClientConnectionManager to manage the connections.
     * It closes expired connections and idle connections that have exceeded a specified timeout.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 3.3K bytes
    - Click Count (0)
Back to Top