Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 1,521 for given (0.04 seconds)

  1. src/test/java/jcifs/DecodableTest.java

        @Mock
        private Decodable mockDecodable;
    
        @Test
        @DisplayName("Should define decode method")
        void testDecodeMethod() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[10];
            int bufferIndex = 0;
            int len = 10;
            when(mockDecodable.decode(buffer, bufferIndex, len)).thenReturn(10);
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java

        private policy_handle mockPolicyHandle;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructorShouldInitializeCorrectly() {
            // Given
            // mockPolicyHandle is already mocked by @Mock and initialized by @BeforeEach
    
            // When
            MsrpcSamrCloseHandle msrpcSamrCloseHandle = new MsrpcSamrCloseHandle(mockPolicyHandle);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            assertEquals(
                    "jar", depArtifact.getProperty("type", null)); // shouldn't it be java-sources given the classifier?
            assertEquals(
                    "true",
                    depArtifact.getProperty("constitutesBuildPath", null)); // shouldn't it be false given the classifier?
            assertEquals("false", depArtifact.getProperty("includesDependencies", null));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/JavaUtil.java

    import org.gradle.api.GradleException;
    
    import java.util.List;
    import java.util.Optional;
    
    public class JavaUtil {
    
        /** A convenience method for getting java home for a version of java and requiring that version for the given task to execute */
        public static String getJavaHome(final int version) {
            List<JavaHome> javaHomes = BuildParams.getJavaVersions();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/SimpleCommandLineArgumentProvider.java

    import org.gradle.process.CommandLineArgumentProvider;
    
    import java.util.Arrays;
    import java.util.List;
    
    /**
     * A {@link CommandLineArgumentProvider} implementation that simply returns the given list. This implementation does not track any
     * arguments as inputs, so this is useful for passing arguments that should not be used for the purposes of input snapshotting.
     */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

       */
      private int bucket(int hash) {
        return hash & (hashTableKToV.length - 1);
      }
    
      /** Given a key, returns the index of the entry in the tables, or ABSENT if not found. */
      private int findEntryByKey(@Nullable Object key) {
        return findEntryByKey(key, smearedHash(key));
      }
    
      /**
       * Given a key and its hash, returns the index of the entry in the tables, or ABSENT if not found.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationPathTranslator.java

     * under the License.
     */
    package org.apache.maven.configuration;
    
    import java.io.File;
    
    /**
     * Postprocesses filesystem paths. For instance, a path translator might want to resolve relative paths given in the
     * bean configuration against some base directory.
     *
     */
    public interface BeanConfigurationPathTranslator {
    
        /**
         * Translates the specified path.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/UnsignedBytes.java

      /**
       * Returns the unsigned {@code byte} value represented by a string with the given radix.
       *
       * @param string the string containing the unsigned {@code byte} representation to be parsed.
       * @param radix the radix to use while parsing {@code string}
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code byte} with
       *     the given radix, or if {@code radix} is not between {@link Character#MIN_RADIX} and {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 21K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/BooleanFunction.java

     * @param <T> the type of the input to the function
     */
    @FunctionalInterface
    public interface BooleanFunction<T> {
        /**
         * Applies this function to the given argument.
         * @param t the function argument
         * @return the function result
         */
        boolean apply(T t);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1K bytes
    - Click Count (0)
  10. cmd/metrics.go

    			nil, nil),
    		prometheus.GaugeValue,
    		float64(nodesDown),
    	)
    }
    
    // collects healing specific metrics for MinIO instance in Prometheus specific format
    // and sends to given channel
    func healingMetricsPrometheus(ch chan<- prometheus.Metric) {
    	bgSeq, exists := globalBackgroundHealState.getHealSequenceByToken(bgHealingUUID)
    	if !exists {
    		return
    	}
    
    	var dur time.Duration
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:06:31 GMT 2025
    - 16.7K bytes
    - Click Count (0)
Back to Top