Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 247 for printInt (0.04 seconds)

  1. src/archive/zip/example_test.go

    	}
    	defer r.Close()
    
    	// Iterate through the files in the archive,
    	// printing some of their contents.
    	for _, f := range r.File {
    		fmt.Printf("Contents of %s:\n", f.Name)
    		rc, err := f.Open()
    		if err != nil {
    			log.Fatal(err)
    		}
    		_, err = io.CopyN(os.Stdout, rc, 68)
    		if err != nil {
    			log.Fatal(err)
    		}
    		rc.Close()
    		fmt.Println()
    	}
    	// Output:
    	// Contents of README:
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Jan 27 00:22:03 GMT 2016
    - 2K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleRepositoryListener.java

            println("metadataResolved", event.getMetadata() + " from " + event.getRepository());
        }
    
        @Override
        public void metadataResolving(RepositoryEvent event) {
            println("metadataResolving", event.getMetadata() + " from " + event.getRepository());
        }
    
        private void println(String event, String message) {
            out.println("Aether Repository - " + event + ": " + message);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/lang/SystemUtilTest.java

        public void test() throws Exception {
            System.out.println(SystemUtil.FILE_ENCODING);
            System.out.println(SystemUtil.LINE_SEPARATOR);
            System.out.println(SystemUtil.PATH_SEPARATOR);
            System.out.println(SystemUtil.OS_NAME);
            System.out.println(SystemUtil.JAVA_IO_TMPDIR);
            System.out.println(SystemUtil.USER_DIR);
            System.out.println(SystemUtil.USER_HOME);
        }
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  4. .github/workflows/CheckBadMerge.groovy

            if (parentCommits.size() != 2) {
                println("$commit is not a merge commit we're looking for. Parents: $parentCommits")
                return
            }
    
            List<String> commitBranches = branchesOf(commit)
            if (commitBranches.contains("origin/release")) {
                println("$commit is a merge commit already on release, ignoring.")
                println("  Branches: $commitBranches")
                return
            }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 24 10:03:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java

        @Override
        public int execute(UpgradeContext context) throws Exception {
            context.info("Maven Upgrade Tool - Help");
            context.println();
            context.info("Upgrades Maven projects to be compatible with Maven 4.");
            context.println();
            context.info("Available goals:");
            context.indent();
            context.info("help  - display this help message");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. internal/dsync/drwmutex_test.go

    		drwm1.RUnlock(t.Context())
    		// fmt.Println("1st read lock released, waiting...")
    	}()
    
    	go func() {
    		time.Sleep(3 * testDrwMutexAcquireTimeout)
    		drwm2.RUnlock(t.Context())
    		// fmt.Println("2nd read lock released, waiting...")
    	}()
    
    	drwm3 := NewDRWMutex(ds, "simplelock")
    	// fmt.Println("Trying to acquire write lock, waiting...")
    	ctx3, cancel3 := context.WithCancel(t.Context())
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

            ) {
              if (done) {
                println("completed")
              } else {
                if (firstUpdate) {
                  firstUpdate = false
                  if (contentLength == -1L) {
                    println("content-length: unknown")
                  } else {
                    println("content-length: $contentLength")
                  }
                }
                println(bytesWritten)
                if (contentLength != -1L) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. buildscripts/heal-manual.go

    	if err != nil {
    		log.Fatalln(err)
    	}
    	fmt.Println("Healstart sequence ===")
    	enc := json.NewEncoder(os.Stdout)
    	if err = enc.Encode(&start); err != nil {
    		log.Fatalln(err)
    	}
    
    	fmt.Println()
    	for {
    		_, status, err := madmClnt.Heal(context.Background(), "healing-rewrite-bucket", "", opts, start.ClientToken, false, false)
    		if status.Summary == "finished" {
    			fmt.Println("Healstatus on items ===")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 27 09:47:58 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  9. tests/tests_test.go

    		// ALTER SERVER ROLE sysadmin ADD MEMBER [gorm];
    		// GO
    		log.Println("testing sqlserver...")
    		if dbDSN == "" {
    			dbDSN = sqlserverDSN
    		}
    		db, err = gorm.Open(sqlserver.Open(dbDSN), cfg)
    	case "tidb":
    		log.Println("testing tidb...")
    		if dbDSN == "" {
    			dbDSN = tidbDSN
    		}
    		db, err = gorm.Open(mysql.Open(dbDSN), cfg)
    	default:
    		log.Println("testing sqlite3...")
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

            ResourceTraversalUtil.forEach(con.getJarFile(), (ResourceHandler) (path, is) -> {
                try {
                    if (count < 10) {
                        System.out.println(path);
                    }
                    System.out.println(path);
                    assertThat(path, is(notNullValue()));
                    assertThat(path, path.startsWith("junit") || path.startsWith("org/junit") || path.startsWith("org/hamcrest")
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top