Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 814 for doInit (0.05 sec)

  1. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

            .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8)));
    
        // ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters
        // greater than 127 (ie with their top bit set).
        // Don't attempt to do this in real code.
        assertEquals(
            fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1)));
      }
    
      public void testPutNonChars() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. internal/etag/reader.go

    //
    // If content implements Tagger then the returned Reader
    // returns ETag of the content. Otherwise, it returns
    // nil as ETag.
    //
    // Wrap provides an adapter for io.Reader implementations
    // that don't implement the Tagger interface.
    // It is mainly used to provide a high-level io.Reader
    // access to the ETag computed by a low-level io.Reader:
    //
    //	content := etag.NewReader(r.Body, nil)
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        }
    
        @Override
        public E element() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.element();
        }
    
        @Override
        public Iterator<E> iterator() {
          // We explicitly don't lock for iterator()
          assertFalse(Thread.holdsLock(mutex));
          return delegate.iterator();
        }
    
        @Override
        public int size() {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/ConverterTest.java

        assertEquals((Integer) 5, converter.convert("5"));
        assertEquals("5", converter.reverse().convert(5));
      }
    
      // Null-passthrough violates our nullness annotations, so we don't support it under J2KT.
      @J2ktIncompatible
      public void testNullIsPassedThrough() {
        Converter<String, String> nullsArePassed = sillyConverter(false);
        assertEquals("forward", nullsArePassed.convert("foo"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 16:09:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

          slope = (coldIntervalMicros - stableIntervalMicros) / (maxPermits - thresholdPermits);
          if (oldMaxPermits == Double.POSITIVE_INFINITY) {
            // if we don't special-case this, we would get storedPermits == NaN, below
            storedPermits = 0.0;
          } else {
            storedPermits =
                (oldMaxPermits == 0.0)
                    ? maxPermits // initial state is cold
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  6. src/main/resources/fess_message_ru.properties

    #                                      Application Exception
    #                                      ---------------------
    # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    # five framework-embedded messages (don't change key names)
    # - - - - - - - - - -/
    errors.login.failure=Login failed.
    errors.app.illegal.transition=Please retry because of illegal transition.
    errors.app.db.already.deleted=others might be updated, so retry.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri May 20 12:12:28 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

          return object : RequestBody() {
            override fun contentType(): MediaType? {
              return ******@****.***tType()
            }
    
            override fun contentLength(): Long {
              return -1 // We don't know the compressed length in advance!
            }
    
            @Throws(IOException::class)
            override fun writeTo(sink: BufferedSink) {
              GzipSink(sink).buffer().use(this@gzip::writeTo)
            }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtStatus.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    public interface NtStatus {
    
        /* Don't bother to edit this. Everthing within the interface
         * block is automatically generated from the ntstatus package.
         */
    
        public static final int NT_STATUS_OK = 0x00000000;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

         *   <li>If the value is null, get the value from the context.</li>
         *   <li>If the value is null, but the context contains the expression, don't replace the expression string
         *       with the value, and continue to find other expressions.</li>
         *   <li>If the value is null, get it from the model properties.</li>
         * </ul>
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. src/bufio/example_test.go

    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"os"
    	"strconv"
    	"strings"
    )
    
    func ExampleWriter() {
    	w := bufio.NewWriter(os.Stdout)
    	fmt.Fprint(w, "Hello, ")
    	fmt.Fprint(w, "world!")
    	w.Flush() // Don't forget to flush!
    	// Output: Hello, world!
    }
    
    func ExampleWriter_AvailableBuffer() {
    	w := bufio.NewWriter(os.Stdout)
    	for _, i := range []int64{1, 2, 3, 4} {
    		b := w.AvailableBuffer()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top