Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 369 for charm (0.02 sec)

  1. android/guava/src/com/google/common/io/ByteSink.java

      public long writeFrom(InputStream input) throws IOException {
        checkNotNull(input);
    
        try (OutputStream out = openStream()) {
          return ByteStreams.copy(input, out);
        }
      }
    
      /**
       * A char sink that encodes written characters with a charset and writes resulting bytes to this
       * byte sink.
       */
      private final class AsCharSink extends CharSink {
    
        private final Charset charset;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/ByteSink.java

      public long writeFrom(InputStream input) throws IOException {
        checkNotNull(input);
    
        try (OutputStream out = openStream()) {
          return ByteStreams.copy(input, out);
        }
      }
    
      /**
       * A char sink that encodes written characters with a charset and writes resulting bytes to this
       * byte sink.
       */
      private final class AsCharSink extends CharSink {
    
        private final Charset charset;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            assertEquals(0x0101, actualInfoLevel);
        }
    
        @Test
        void testWriteParametersWithSpecialCharacters() {
            String specialPath = "test/file with spaces and $pecial #chars!.txt";
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, specialPath, TEST_INFO_LEVEL);
    
            byte[] buffer = new byte[512];
            int written = trans2QueryPathInfo.writeParametersWireFormat(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/MediaType.java

          checkState(position != startPosition);
          return token;
        }
    
        char consumeCharacter(CharMatcher matcher) {
          checkState(hasMore());
          char c = previewChar();
          checkState(matcher.matches(c));
          position++;
          return c;
        }
    
        @CanIgnoreReturnValue
        char consumeCharacter(char c) {
          checkState(hasMore());
          checkState(previewChar() == c);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

          Headers
            .Builder()
            .addUnsafeNonAscii("héader1", "value1")
            .build()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Unexpected char 0xe9 at 1 in header name: héader1")
        }
      }
    
      @Test fun addUnsafeNonAsciiAcceptsUnicodeValue() {
        val headers =
          Headers
            .Builder()
            .addUnsafeNonAscii("header1", "valué1")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          verifyHostname(hostname, it)
        }
      }
    
      /**
       * This is like [toLowerCase] except that it does nothing if this contains any non-ASCII
       * characters. We want to avoid lower casing special chars like U+212A (Kelvin symbol) because
       * they can return ASCII characters that match real hostnames.
       */
      private fun String.asciiToLowercase(): String =
        when {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. docs/vi/docs/python-types.md

    Có phải là `upper`? Có phải là `uppercase`? `first_uppercase`? `capitalize`?
    
    Sau đó, bạn thử hỏi người bạn cũ của mình, autocompletion của trình soạn thảo.
    
    Bạn gõ tham số đầu tiên của hàm, `first_name`, sau đó một dấu chấm (`.`) và sau đó ấn `Ctrl+Space` để kích hoạt bộ hoàn thành.
    
    Nhưng đáng buồn, bạn không nhận được điều gì hữu ích cả:
    
    <img src="/img/python-types/image01.png">
    
    ### Thêm kiểu dữ liệu
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashCode.java

          int ch1 = decode(string.charAt(i)) << 4;
          int ch2 = decode(string.charAt(i + 1));
          bytes[i / 2] = (byte) (ch1 + ch2);
        }
        return fromBytesNoCopy(bytes);
      }
    
      private static int decode(char ch) {
        if (ch >= '0' && ch <= '9') {
          return ch - '0';
        }
        if (ch >= 'a' && ch <= 'f') {
          return ch - 'a' + 10;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcHandle.java

        protected static DcerpcBinding parseBinding(final String str) throws DcerpcException {
            int state, mark, si;
            final char[] arr = str.toCharArray();
            String proto = null, key = null;
            DcerpcBinding binding = null;
    
            state = mark = si = 0;
            do {
                final char ch = arr[si];
    
                switch (state) {
                case 0:
                    if (ch == ':') {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

        }
    
        public void test_constructor_withSpecialCharactersInMessage() {
            // Test constructor with special characters in message
            final String message = "Job failed with special chars: \n\t\r\"'<>&";
            final JobProcessingException exception = new JobProcessingException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top