Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1931 - 1940 of 5,478 for newA (0.02 seconds)

  1. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

            long expectedValue = 123456789012345L;
            NdrHyper ndrHyper = new NdrHyper(expectedValue);
            assertEquals(expectedValue, ndrHyper.value, "Constructor should set the correct value.");
        }
    
        @Test
        void testEncode() throws NdrException {
            // Test the encode method
            long testValue = 987654321098765L;
            NdrHyper ndrHyper = new NdrHyper(testValue);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java

    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class PerCallSettings {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
            .build();
    
        // Copy to customize OkHttp for this request.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/CommonsCliShellOptions.java

     */
    public class CommonsCliShellOptions extends CommonsCliOptions implements ShellOptions {
        public static CommonsCliShellOptions parse(String[] args) throws ParseException {
            CLIManager cliManager = new CLIManager();
            return new CommonsCliShellOptions(Options.SOURCE_CLI, cliManager, cliManager.parse(args));
        }
    
        protected CommonsCliShellOptions(String source, CLIManager cliManager, CommandLine commandLine) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/repository/MavenArtifactRepositoryTest.java

                return id;
            }
        }
    
        @Test
        void testHashCodeEquals() {
            MavenArtifactRepositorySubclass r1 = new MavenArtifactRepositorySubclass("foo");
            MavenArtifactRepositorySubclass r2 = new MavenArtifactRepositorySubclass("foo");
            MavenArtifactRepositorySubclass r3 = new MavenArtifactRepositorySubclass("bar");
    
            assertTrue(r1.hashCode() == r2.hashCode());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

        private RuleManager ruleManager;
    
        @Override
        @SuppressWarnings("unchecked")
        protected void setUp() throws Exception {
            super.setUp();
    
            crawlerThread = new CrawlerThread();
            crawlerContext = new CrawlerContext();
            crawlerContext.sessionId = "test-session";
            crawlerContext.numOfThread = 1;
            crawlerContext.maxThreadCheckCount = 10;
            crawlerContext.maxDepth = 3;
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

    /**
     * OpenID Connect credential implementation.
     */
    public class OpenIdConnectCredential implements LoginCredential, FessCredential {
    
        private final Map<String, Object> attributes;
    
        /**
         * Creates a new OpenID Connect credential.
         *
         * @param attributes the attributes from OpenID Connect provider
         */
        public OpenIdConnectCredential(final Map<String, Object> attributes) {
            this.attributes = attributes;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                        assertThrows(MalformedURLException.class, () -> new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx()));
                assertEquals("Named pipes are only valid on IPC$", ex.getMessage());
            }
    
            @Test
            @DisplayName("Null context throws NPE (invalid input)")
            void nullContextThrows() {
                assertThrows(NullPointerException.class, () -> new SmbNamedPipe("smb://server/IPC$/foo", 0, null));
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

                    k3(),
                    (k, v) -> {
                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfPresent_supportedPresent() {
        assertEquals(
            "computeIfPresent(present, function) should return new value",
            v3(),
            getMap()
                .computeIfPresent(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        public LegacyLocalRepositoryManager(File basedir) {
            this.repository = new LocalRepository(basedir.getAbsoluteFile(), "legacy");
        }
    
        @Override
        public LocalRepository getRepository() {
            return repository;
        }
    
        @Override
        public String getPathForLocalArtifact(Artifact artifact) {
            StringBuilder path = new StringBuilder(128);
    
            path.append(artifact.getGroupId()).append('/');
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        LegacyLocalRepositoryManager(File basedir) {
            this.repository = new LocalRepository(basedir.getAbsoluteFile(), "legacy");
        }
    
        @Override
        public LocalRepository getRepository() {
            return repository;
        }
    
        @Override
        public String getPathForLocalArtifact(Artifact artifact) {
            StringBuilder path = new StringBuilder(128);
    
            path.append(artifact.getGroupId()).append('/');
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.5K bytes
    - Click Count (0)
Back to Top