Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 453 for printint (0.05 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
            while (iter.hasNext()) {
                Artifact artifact = (Artifact) iter.next();
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. docs/debugging/inspect/decrypt-v2.go

    		if err != nil {
    			if err == io.EOF {
    				if extracted {
    					return nil
    				}
    				return errors.New("no data found on stream")
    			}
    			if errors.Is(err, estream.ErrNoKey) {
    				fmt.Println("Skipping", stream.Name, "no private key")
    				if err := stream.Skip(); err != nil {
    					return fmt.Errorf("stream skip: %w", err)
    				}
    				continue
    			}
    			return fmt.Errorf("next stream: %w", err)
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 17 17:09:42 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

         */
        String STRICT = "strict";
    
        /**
         * Locates the pom in the given directory.
         *
         * @param dir the directory to locate the pom for, never {@code null}
         * @return a {@code Source} pointing to the located pom or an empty {@code Optional} if none was found by this parser
         */
        @Nonnull
        Optional<Source> locate(@Nonnull Path dir);
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Sep 10 17:18:47 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

            .post(formBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostForm().run();
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/beans/converter/SqlDateConverterTest.java

            final SqlDateConverter converter = new SqlDateConverter("yyyy/MM/dd");
            final java.sql.Date result = (java.sql.Date) converter.getAsObject("2008/01/16");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("2008/01/16"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsTarget() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

         */
        public void testExpired() throws Exception {
            TimeoutTask task = TimeoutManager.getInstance().addTimeoutTarget(new TimeoutTarget() {
                public void expired() {
                    System.out.println("expired");
                    expiredCount++;
                }
            }, 1, true);
    
            assertNotNull(TimeoutManager.getInstance().thread);
            Thread.sleep(2000);
            assertTrue(expiredCount > 0);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Apply.java

            return true;
        }
    
        @Override
        public int execute(UpgradeContext context) throws Exception {
            context.info("Maven Upgrade Tool - Apply");
            context.println();
    
            return super.execute(context);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Check.java

            return false;
        }
    
        @Override
        public int execute(UpgradeContext context) throws Exception {
            context.info("Maven Upgrade Tool - Check");
            context.println();
    
            return super.execute(context);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. src/archive/tar/example_test.go

    			break // End of archive
    		}
    		if err != nil {
    			log.Fatal(err)
    		}
    		fmt.Printf("Contents of %s:\n", hdr.Name)
    		if _, err := io.Copy(os.Stdout, tr); err != nil {
    			log.Fatal(err)
    		}
    		fmt.Println()
    	}
    
    	// Output:
    	// Contents of readme.txt:
    	// This archive contains some text files.
    	// Contents of gopher.txt:
    	// Gopher names:
    	// George
    	// Geoffrey
    	// Gonzo
    	// Contents of todo.txt:
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/groovy/elasticsearch.build-complete.gradle

     */
    
    import java.nio.file.Files
    
    String buildNumber = System.getenv('BUILD_NUMBER')
    
    if (buildNumber) {
      File uploadFile = file("build/${buildNumber}.tar.bz2")
      project.gradle.buildFinished { result ->
        println "build complete, generating: $uploadFile"
        if (uploadFile.exists()) {
          project.delete(uploadFile)
        }
    
        try {
          ant.tar(destfile: uploadFile, compression: "bzip2", longfile: "gnu") {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2K bytes
    - Click Count (0)
Back to Top