Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 2,251 for myitem (0.04 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

            }
        }
    
        private static final ArtifactScopeEnum[][][] COMPLIANCY_SETS = {
            {{compile}, {compile, provided, system}},
            {{test}, {compile, test, provided, system}},
            {{runtime}, {compile, runtime, system}},
            {{provided}, {compile, test, provided}}
        };
    
        /**
         * scope relationship function. Used by the graph conflict resolution policies
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt

            .build()
    
        val startNanos = System.nanoTime()
        val call = client.newCall(request)
    
        // Schedule a job to cancel the call in 1 second.
        executor.schedule({
          System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f)
          call.cancel()
          System.out.printf("%.2f Canceled call.%n", (System.nanoTime() - startNanos) / 1e9f)
        }, 1, TimeUnit.SECONDS)
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  3. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

                }
            }
            System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
            try {
                downloadFileFromURL(url, outputFile);
                System.out.println("Done");
                System.exit(0);
            } catch (Throwable e) {
                System.out.println("- Error downloading");
                e.printStackTrace();
                System.exit(1);
            }
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Click Count (0)
  4. docs/recipes.md

            System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f)
            try {
              call.execute().use { response ->
                System.out.printf("%.2f Call was expected to fail, but completed: %s%n",
                    (System.nanoTime() - startNanos) / 1e9f, response)
              }
            } catch (e: IOException) {
              System.out.printf("%.2f Call failed as expected: %s%n",
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 47.8K bytes
    - Click Count (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalControllerTest.java

            final DefaultIntervalController controller = new DefaultIntervalController();
            controller.setDelayMillisAfterProcessing(0L);
    
            final long start = System.nanoTime();
            controller.delayAfterProcessing();
            final long elapsed = (System.nanoTime() - start) / 1000000;
    
            assertTrue("No delay expected", elapsed < 50); // Should be nearly instant
        }
    
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:58:39 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/context/SingletonContextTest.java

            }
            // Clear system properties that might affect the test
            System.clearProperty("jcifs.properties");
            System.clearProperty("java.protocol.handler.pkgs");
            // Clear jcifs-specific properties to prevent test interference
            System.clearProperty("jcifs.smb.client.nativeOs");
            System.clearProperty("jcifs.smb.client.nativeLanMan");
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            final long start1 = System.nanoTime();
            controller.delayBeforeProcessing();
            final long elapsed1 = (System.nanoTime() - start1) / 1000000;
            assertTrue("First access should not delay", elapsed1 < 50);
    
            // Second access to same host - should delay
            q.setUrl("http://example.com/page2");
            final long start2 = System.nanoTime();
            controller.delayBeforeProcessing();
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/OsService.java

     * <li>Check if the current OS is Windows-based</li>
     * </ul>
     * <p>
     * The service implementation uses system properties to detect OS characteristics:
     * <ul>
     * <li>os.name: The operating system name</li>
     * <li>os.arch: The operating system architecture</li>
     * <li>os.version: The operating system version</li>
     * </ul>
     * <p>
     * Supported OS families include:
     * <ul>
     * <li>windows: All Windows variants</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Feb 10 14:12:18 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

            StringWriter sWriter = new StringWriter();
            PrintWriter pWriter = new PrintWriter(sWriter);
    
            error.printStackTrace(pWriter);
    
            System.err.println("[error] " + content + System.lineSeparator() + System.lineSeparator() + sWriter);
        }
    
        /**
         * @see org.apache.maven.plugin.logging.Log#error(java.lang.Throwable)
         */
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // Name entry (18 bytes)
            String name = "TEST            ";
            System.arraycopy(name.getBytes("US-ASCII"), 0, src, srcIndex + 13, 16);
            src[srcIndex + 28] = 0x00; // hex code
            src[srcIndex + 29] = 0x04; // flags
            // MAC address (6 bytes)
            byte[] mac = new byte[6];
            System.arraycopy(mac, 0, src, srcIndex + 31, 6);
            // Stats (6 bytes)
            byte[] stats = new byte[6];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
Back to Top