Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 316 for printint (1.98 sec)

  1. okhttp-coroutines/README.md

    OkHttp Coroutines
    =================
    
    Support for Kotlin clients using coroutines.
    
    ```kotlin
    val call = client.newCall(request)
    
    call.executeAsync().use { response ->
      withContext(Dispatchers.IO) {
        println(response.body?.string())
      }
    }
    ```
    
    This is implemented using `suspendCancellableCoroutine`
    but uses the standard Dispatcher in OkHttp. This means
    that by default Kotlin's Dispatchers are not used.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Nov 09 15:47:27 UTC 2023
    - 609 bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbSession.java

            final SmbTransport trans = SmbTransport.getSmbTransport(dc, 0);
            if (USERNAME == null) {
                trans.connect();
                if (LogStream.level >= 3) {
                    SmbTransport.log.println("""
                            Default credentials (jcifs.smb1.smb1.client.username/password)\
                             not specified. SMB signing may not work propertly.\
                              Skipping DC interrogation.""");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. docs/debugging/healing-bin/main.go

    					if err = dec.Decode(&htr); err != nil {
    						return err
    					}
    					ht[file.Name] = htr
    				}
    			}
    			b, err := json.MarshalIndent(ht, "", "  ")
    			if err != nil {
    				return err
    			}
    			fmt.Println(string(b))
    			return nil
    		}
    		b, err := os.ReadFile(file)
    		if err != nil {
    			return err
    		}
    		buf := bytes.NewBuffer(nil)
    		if _, err = msgp.CopyToJSON(buf, bytes.NewReader(b)); err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
                switch (sbuf[0] & 0xFF) {
                case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                    if (LogStream.level >= 4) {
                        log.println("session established ok with " + address);
                    }
                    return;
                case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
                    final int errorCode = in.read() & 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  5. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

          while (i < length) {
            var newline = logMessage.indexOf('\n', i)
            newline = if (newline != -1) newline else length
            do {
              val end = minOf(newline, i + MAX_LOG_LENGTH)
              Log.println(logLevel, tag, logMessage.substring(i, end))
              i = end
            } while (i < newline)
            i++
          }
        }
      }
    
      private fun loggerTag(loggerName: String): String {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtSocket.java

                close();
                throw ioe;
            }
    
            switch (type) {
            case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                if (LogStream.level > 2) {
                    log.println("session established ok with " + address);
                }
                return;
            case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
                final int errorCode = in.read() & 0xFF;
                close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

            .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()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/transport/Transport.java

                        final Response response = (Response) response_map.get(key);
                        if (response == null) {
                            if (LogStream.level >= 4) {
                                log.println("Invalid key, skipping message");
                            }
                            doSkip();
                        } else {
                            doRecv(response);
                            response.isReceived = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

                results[i] = e = new FileBothDirectoryInfo(getConfig(), isUseUnicode());
    
                e.decode(buffer, bufferIndex, len);
    
                /*
                 * lastNameOffset ends up pointing to either to
                 * the exact location of the filename(e.g. Win98)
                 * or to the start of the entry containing the
                 * filename(e.g. NT). Ahhrg! In either case the
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            result = jobExecutor.execute("python", "print('test')");
            assertEquals("Executed: python print('test')", result);
    
            result = jobExecutor.execute("groovy", "println 'test'");
            assertEquals("Executed: groovy println 'test'", result);
        }
    
        public void test_execute_specialCharacters() {
            // Test scripts with special characters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top