Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 999 for Tout (0.05 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/Progress.java

            if (done) {
              System.out.println("completed");
            } else {
              if (firstUpdate) {
                firstUpdate = false;
                if (contentLength == -1) {
                  System.out.println("content-length: unknown");
                } else {
                  System.out.format("content-length: %d\n", contentLength);
                }
              }
    
              System.out.println(bytesRead);
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/SystemUtilTest.java

        @Test
        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);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

        // 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);
    
        System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f);
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.idl

    	[op(0x0f)]
    	int SamrEnumerateAliasesInDomain([in] policy_handle *domain_handle,
    			[in,out] uint32_t *resume_handle,
    			[in] uint32_t acct_flags,
    			[out,unique] SamrSamArray *sam,
    			[out] uint32_t num_entries);
    
    	[op(0x1b)]
    	int SamrOpenAlias([in] policy_handle *domain_handle,
    			[in] uint32_t access_mask,
    			[in] uint32_t rid,
    			[out] policy_handle *alias_handle);
    
    	[op(0x21)]
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        ByteStreams.copy(in, out);
        in.close();
        out.close();
    
        assertTrue(source.wasStreamClosed());
        assertArrayEquals(bytes, out.toByteArray());
      }
    
      public void testSize() throws IOException {
        assertEquals(bytes.length, source.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                            out.append('t');
                            break;
                        case '\f':
                            out.append('\\');
                            out.append('f');
                            break;
                        case '\r':
                            out.append('\\');
                            out.append('r');
                            break;
                        default:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/FormBodyTest.kt

        )
        val expected = "a%2B%3D%26+b=c%2B%3D%26+d&space%2C+the=final+frontier&%2525=%2525"
        assertThat(body.contentLength()).isEqualTo(expected.length.toLong())
        val out = Buffer()
        body.writeTo(out)
        assertThat(out.readUtf8()).isEqualTo(expected)
      }
    
      @Test
      fun addEncoded() {
        val body =
          FormBody.Builder()
            .addEncoded("a+=& b", "c+=& d")
            .addEncoded("e+=& f", "g+=& h")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

            println("$name: $value")
          }
          println()
        }
    
        // Stream the response to the System.out as it is returned from the server.
        val out = System.out.sink()
        val source = response.body.source()
        while (!source.exhausted()) {
          out.write(source.buffer, source.buffer.size)
          out.flush()
        }
    
        response.body.close()
      } catch (e: IOException) {
        e.printStackTrace()
      } finally {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            final SimpleProblemCollector collector = new SimpleProblemCollector();
            Model out = interpolator.interpolateModel(model, new File("."), createModelBuildingRequest(context), collector);
    
            assertProblemFree(collector);
            assertEquals("${test}/somepath", out.getScm().getConnection());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/samr.idl

    	[op(0x0f)]
    	int SamrEnumerateAliasesInDomain([in] policy_handle *domain_handle,
    			[in,out] uint32_t *resume_handle,
    			[in] uint32_t acct_flags,
    			[out,unique] SamrSamArray *sam,
    			[out] uint32_t num_entries);
    
    	[op(0x1b)]
    	int SamrOpenAlias([in] policy_handle *domain_handle,
    			[in] uint32_t access_mask,
    			[in] uint32_t rid,
    			[out] policy_handle *alias_handle);
    
    	[op(0x21)]
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
Back to top