Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 969 for getTime (0.05 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java

                new SetMultimapTestSuiteBuilder.MultimapGetGenerator<K, V>(
                    parentBuilder.getSubjectGenerator()))
            .withFeatures(computeMultimapGetFeatures(parentBuilder.getFeatures()))
            .named(parentBuilder.getName() + ".get[key]")
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      @Override
      TestSuite computeMultimapAsMapGetTestSuite(
          FeatureSpecificTestSuiteBuilder<
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            // The getEntries method returns FileEntry objects. We can check their names.
            assertEquals("\\domain\share1", entries[0].getName(), "The name of the first share should be correct.");
            assertEquals("\\domain\share2", entries[1].getName(), "The name of the second share should be correct.");
        }
    
        /**
         * Test the getEntries() method when the DfsEnumArray200 is empty.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

     * as well as a method to validate the header.
     *
     * <p>Example usage:</p>
     * <pre>
     *     RequestHeader header = new RequestHeader("Content-Type", "application/json");
     *     String name = header.getName();
     *     String value = header.getValue();
     *     boolean isValid = header.isValid();
     * </pre>
     *
     * <p>Note: The name should not be blank and the value should not be null for the header to be considered valid.</p>
     *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/CIFSContextTest.java

            int pipeType = 1;
            SmbPipeResource mockPipe = mock(SmbPipeResource.class);
            when(mockContext.getPipe(url, pipeType)).thenReturn(mockPipe);
    
            // When
            SmbPipeResource pipe = mockContext.getPipe(url, pipeType);
    
            // Then
            assertEquals(mockPipe, pipe);
            verify(mockContext).getPipe(url, pipeType);
        }
    
        @Test
        @DisplayName("Should close context")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertArrayEquals(unicodeHash, auth.getUnicodeHash(challenge));
        }
    
        // Test getName method
        @Test
        void testGetName() {
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN", "user", "password");
            assertEquals("DOMAIN\\user", auth.getName());
        }
    
        // Test getName method with default domain
        @Test
        void testGetNameWithDefaultDomain() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalTestArtifactExtension.java

            String name = sourceSet.getName();
            JavaPluginExtension javaPluginExtension = project.getExtensions().getByType(JavaPluginExtension.class);
            javaPluginExtension.registerFeature(name + "Artifacts", featureSpec -> {
                featureSpec.usingSourceSet(sourceSet);
                featureSpec.capability("org.elasticsearch.gradle", project.getName() + "-" + name + "-artifacts", "1.0");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 07:15:49 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/LoggerUsageTask.java

                // Don't pick up all source sets like the java9 ones as logger-check doesn't support the class format
                .filter(
                    sourceSet -> sourceSet.getName().equals(SourceSet.MAIN_SOURCE_SET_NAME)
                        || sourceSet.getName().equals(SourceSet.TEST_SOURCE_SET_NAME)
                )
                .map(sourceSet -> sourceSet.getOutput().getClassesDirs())
                .reduce(FileCollection::plus)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

        public synchronized void init() {
            if (httpClient != null) {
                return;
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Initializing {}", Hc4HttpClient.class.getName());
            }
    
            super.init();
    
            // robots.txt parser
            final Boolean robotsTxtEnabled = getInitParameter(ROBOTS_TXT_ENABLED_PROPERTY, Boolean.TRUE, Boolean.class);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/base/EnumsTest.java

        BAR
      }
    
      @J2ktIncompatible
      public void testGetField() {
        Field foo = Enums.getField(AnEnum.FOO);
        assertThat(foo.getName()).isEqualTo("FOO");
        assertTrue(foo.isAnnotationPresent(ExampleAnnotation.class));
    
        Field bar = Enums.getField(AnEnum.BAR);
        assertThat(bar.getName()).isEqualTo("BAR");
        assertFalse(bar.isAnnotationPresent(ExampleAnnotation.class));
      }
    
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 01:05:11 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                                .get(stream -> stream.filter(s -> !"..".equals(s)).toArray(n -> new String[n]));
                        if (names.length < 2) {
                            continue;
                        }
                        if (logger.isDebugEnabled()) {
                            logger.debug("Loading entry: name={}", entry.getName());
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top