Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 300 for printInt (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/server-startup-msg_test.go

    	newAPIEndpoints = stripStandardPorts(apiEndpoints, "")
    	if !reflect.DeepEqual(apiEndpoints, newAPIEndpoints) {
    		t.Fatalf("Expected %#v, got %#v", apiEndpoints, newAPIEndpoints)
    	}
    }
    
    // Test printing server common message.
    func TestPrintServerCommonMessage(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            cleanupWarning = new Thread(warning);
    
            Runtime.getRuntime().addShutdownHook(cleanupWarning);
        }
    
        private void maybeWarnAboutCleanUp() {
            if (warnAboutCleanup) {
                System.out.println("[WARNING] TestFileManager from: " + callerInfo.getClassName() + " not cleaned up!");
            }
        }
    
        public void markForDeletion(File toDelete) {
            filesToDelete.add(toDelete);
            warnAboutCleanup = true;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. docs/features/events.md

    Request request = new Request.Builder()
        .url("https://publicobject.com/helloworld.txt")
        .build();
    
    System.out.println("REQUEST 1 (new connection)");
    try (Response response = client.newCall(request).execute()) {
      // Consume and discard the response body.
      response.body().source().readByteString();
    }
    
    System.out.println("REQUEST 2 (pooled connection)");
    try (Response response = client.newCall(request).execute()) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/guide/PostExample.java

        PostExample example = new PostExample();
        String json = example.bowlingJson("Jesse", "Jake");
        String response = example.post("http://www.roundsapp.com/post", json);
        System.out.println(response);
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2K bytes
    - Click Count (0)
  5. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

            .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 CheckHandshake().run();
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt

            body = requestBody,
          )
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    
      companion object {
        val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType()
      }
    }
    
    fun main() {
      PostStreaming().run()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

            .post(requestBody)
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    
      companion object {
        /**
         * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. docs/debugging/inspect/decrypt-v1.go

    	}
    	// Zero nonce, we only use each key once, and 32 bytes is plenty.
    	nonce := make([]byte, stream.NonceSize())
    	encr := stream.DecryptReader(r, nonce, nil)
    	_, err = io.Copy(w, encr)
    	if err == nil {
    		fmt.Println(okMsg)
    	}
    	return err
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java

            bufferIndex += 4;
            setupCount = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
            if ((setupCount != 0) && (LogStream.level >= 3)) {
                log.println("setupCount is not zero: " + setupCount);
            }
    
            return bufferIndex - start;
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts

        gradleRootProject.extensions.findByType<BuildScanConfiguration>()?.run {
            buildScanPublished {
                ((failedTasksInBuildLogic as List<*>) + (failedTasksInMainBuild as List<*>)).forEach {
                    println("##teamcity[buildProblem description='${buildScanUri}/console-log?task=$it']")
                }
            }
        }
    }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 20:57:49 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top