Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,860 for oink (0.07 sec)

  1. src/bytes/example_test.go

    func ExampleReplace() {
    	fmt.Printf("%s\n", bytes.Replace([]byte("oink oink oink"), []byte("k"), []byte("ky"), 2))
    	fmt.Printf("%s\n", bytes.Replace([]byte("oink oink oink"), []byte("oink"), []byte("moo"), -1))
    	// Output:
    	// oinky oinky oink
    	// moo moo moo
    }
    
    func ExampleReplaceAll() {
    	fmt.Printf("%s\n", bytes.ReplaceAll([]byte("oink oink oink"), []byte("oink"), []byte("moo")))
    	// Output:
    	// moo moo moo
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSink.java

       */
      public abstract Writer openStream() throws IOException;
    
      /**
       * Opens a new buffered {@link Writer} for writing to this sink. The returned stream is not
       * required to be a {@link BufferedWriter} in order to allow implementations to simply delegate to
       * {@link #openStream()} when the stream returned by that method does not benefit from additional
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteSink.java

      protected ByteSink() {}
    
      /**
       * Returns a {@link CharSink} view of this {@code ByteSink} that writes characters to this sink as
       * bytes encoded with the given {@link Charset charset}.
       */
      public CharSink asCharSink(Charset charset) {
        return new AsCharSink(charset);
      }
    
      /**
       * Opens a new {@link OutputStream} for writing to this sink. This method returns a new,
       * independent stream each time it is called.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 16:55:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharSource.java

       *
       * <ul>
       *   <li>use {@link StringReader} instead of {@link CharSequenceReader}. It is faster since it can
       *       use {@link String#getChars(int, int, char[], int)} instead of copying characters one by
       *       one with {@link CharSequence#charAt(int)}.
       *   <li>use {@link Appendable#append(CharSequence)} in {@link #copyTo(Appendable)} and {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. src/main/webapp/css/admin/adminlte.min.css

    r-bottom:1px solid #dee2e6;z-index:1034}.main-header .nav-link{height:2.5rem;position:relative}.main-header.text-sm .nav-link,.text-sm .main-header .nav-link{height:1.93725rem;padding:.35rem 1rem}.main-header.text-sm .nav-link>.fa,.main-header.text-sm .nav-link>.fab,.main-header.text-sm .nav-link>.fad,.main-header.text-sm .nav-link>.fal,.main-header.text-sm .nav-link>.far,.main-header.text-sm .nav-link>.fas,.main-header.text-sm .nav-link>.ion,.main-header.text-sm .nav-link>.svg-inline--fa,.text-sm...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 1.3M bytes
    - Viewed (0)
  6. src/main/webapp/css/admin/adminlte.min.css.map

    .main-header .nav-link > .svg-inline--fa,\n.text-sm .main-header .nav-link > .ion, .main-header.text-sm .nav-link > .fa,\n.main-header.text-sm .nav-link > .fas,\n.main-header.text-sm .nav-link > .far,\n.main-header.text-sm .nav-link > .fab,\n.main-header.text-sm .nav-link > .fal,\n.main-header.text-sm .nav-link > .fad,\n.main-header.text-sm .nav-link > .svg-inline--fa,\n.main-header.text-sm .nav-link > .ion {\n  font-size: 0.875rem;\n}\n\n.main-header .navbar-nav .nav-item {\n  margin: 0;\n}\n\n.main-header...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 3.7M bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/io/ByteSource.java

       *     sink}
       */
      @CanIgnoreReturnValue
      public long copyTo(ByteSink sink) throws IOException {
        checkNotNull(sink);
    
        Closer closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
          OutputStream out = closer.register(sink.openStream());
          return ByteStreams.copy(in, out);
        } catch (Throwable e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ByteSourceTest.java

        TestByteSink sink = new TestByteSink();
    
        assertFalse(sink.wasStreamOpened() || sink.wasStreamClosed());
    
        assertEquals(bytes.length, source.copyTo(sink));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
    
        assertArrayEquals(bytes, sink.getBytes());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        TestByteSink sink = new TestByteSink();
    
        assertFalse(sink.wasStreamOpened() || sink.wasStreamClosed());
    
        assertEquals(bytes.length, source.copyTo(sink));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
    
        assertArrayEquals(bytes, sink.getBytes());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/HashTestUtils.java

            boolean value = random.nextBoolean();
            for (PrimitiveSink sink : sinks) {
              sink.putBoolean(value);
            }
          }
        },
        PUT_BYTE() {
          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            int value = random.nextInt();
            for (PrimitiveSink sink : sinks) {
              sink.putByte((byte) value);
            }
          }
        },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top