Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,351 for out (0.02 sec)

  1. guava-tests/test/com/google/common/io/ByteSourceTester.java

      }
    
      public void testCopyTo_outputStream() throws IOException {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        source.copyTo(out);
        assertExpectedBytes(out.toByteArray());
      }
    
      public void testCopyTo_byteSink() throws IOException {
        final ByteArrayOutputStream out = new ByteArrayOutputStream();
        // HERESY! but it's ok just for this I guess
        source.copyTo(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

        int b = 'q';
        HashingOutputStream out = new HashingOutputStream(hashFunction, buffer);
        out.write(b);
    
        verify(hashFunction).newHasher();
        verify(hasher).putByte((byte) b);
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testWrite_putByteArray() throws Exception {
        byte[] buf = new byte[] {'y', 'a', 'm', 's'};
        HashingOutputStream out = new HashingOutputStream(hashFunction, buffer);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 11 22:00:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

      private void doTestTrimFrom(String in, String out) {
        // Try a few different matchers which all match '-' and not 'x'
        assertEquals(out, is('-').trimFrom(in));
        assertEquals(out, is('-').or(is('#')).trimFrom(in));
        assertEquals(out, isNot('x').trimFrom(in));
        assertEquals(out, is('x').negate().trimFrom(in));
        assertEquals(out, anyOf("-").trimFrom(in));
        assertEquals(out, anyOf("-#").trimFrom(in));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt

      }
    
      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
      ) = throw CertificateException("Unsupported operation")
    
      override fun checkClientTrusted(
        chain: Array<out X509Certificate>,
        authType: String?,
      ) = throw CertificateException("Unsupported operation")
    
      override fun checkClientTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        engine: SSLEngine?,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLogger.java

     */
    public class ProtoLogger implements Logger {
    
        private final PrintWriter out;
        private final PrintWriter err;
    
        public ProtoLogger() {
            this(null, null);
        }
    
        public ProtoLogger(@Nullable OutputStream out, @Nullable OutputStream err) {
            this.out = new PrintWriter(toPsOrDef(out, System.out), true);
            this.err = new PrintWriter(toPsOrDef(err, System.err), true);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

            final String s = MessageFormatter.getMessage("EMSG0000");
            System.out.println(s);
            assertThat(s, is("[EMSG0000]test"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMessageWithArgs() throws Exception {
            final String s = MessageFormatter.getMessage("EMSG0001", "hoge");
            System.out.println(s);
            assertThat(s, is("[EMSG0001]hogeが見つかりません"));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K 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. .gitignore

    !/.idea/codeStyles
    !/.idea/inspectionProfiles
    !/.idea/icon.png
    !/.idea/icon_dark.png
    */**/.idea
    */**/.shelf
    .shelf
    /*.iml
    /*/*.iml
    /*/*/*.iml
    /*/*/*/*.iml
    /*/*/*/*/*.iml
    /out
    /*/out
    /*/*/out
    /*/*/*/out
    /*/*/*/*/out
    /.teamcity/target
    /gradle.ipr
    /gradle.iws
    
    # Eclipse
    # -------
    *.classpath
    *.project
    *.settings
    /bin
    /subprojects/*/bin
    atlassian-ide-plugin.xml
    .metadata/
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 16 09:50:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. 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)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

                MessageBuilderFactory messageBuilderFactory, PrintStream out, boolean printResourceNames) {
            this(messageBuilderFactory, new PrintWriter(out), printResourceNames);
        }
    
        public ConsoleMavenTransferListener(
                MessageBuilderFactory messageBuilderFactory, PrintWriter out, boolean printResourceNames) {
            super(messageBuilderFactory, out);
            this.printResourceNames = printResourceNames;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top