Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4531 - 4540 of 5,169 for String (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

        }
    
        @Test
        @DisplayName("toString includes information level in hex")
        void testToString() {
            int level = 0xABC;
            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level);
            String str = cmd.toString();
            // toString uses Hexdump.toHexString(informationLevel, 3)
            assertTrue(str.contains(Hexdump.toHexString(level, 3)), "toString should contain hex level");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/response-directly.md

    Let's say that you want to return an <a href="https://en.wikipedia.org/wiki/XML" class="external-link" target="_blank">XML</a> response.
    
    You could put your XML content in a string, put that in a `Response`, and return it:
    
    {* ../../docs_src/response_directly/tutorial002.py hl[1,18] *}
    
    ## Notes { #notes }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        // Hope to catch some stragglers queued up behind our finalizable object
        System.runFinalization();
      }
    
      private static RuntimeException formatRuntimeException(String format, Object... args) {
        return new RuntimeException(String.format(Locale.ROOT, format, args));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RangeSet.java

      @Override
      int hashCode();
    
      /**
       * Returns a readable string representation of this range set. For example, if this {@code
       * RangeSet} consisted of {@code Range.closed(1, 3)} and {@code Range.greaterThan(4)}, this might
       * return {@code " [1..3](4..+∞)}"}.
       */
      @Override
      String toString();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. docs/features/interceptors.md

        Request request = chain.request();
    
        long t1 = System.nanoTime();
        logger.info(String.format("Sending request %s on %s%n%s",
            request.url(), chain.connection(), request.headers()));
    
        Response response = chain.proceed(request);
    
        long t2 = System.nanoTime();
        logger.info(String.format("Received response for %s in %.1fms%n%s",
            response.request().url(), (t2 - t1) / 1e6d, response.headers()));
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

        val buffer = Buffer()
        body.writeTo(buffer)
        assertThat(buffer.readUtf8()).isEqualTo(expected)
      }
    
      @Test
      fun streamingPartHasNoLength() {
        class StreamingBody(
          private val body: String,
        ) : RequestBody() {
          override fun contentType(): MediaType? = null
    
          @Throws(IOException::class)
          override fun writeTo(sink: BufferedSink) {
            sink.writeUtf8(body)
          }
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

          }
    
          return result.build()
        }
    
        /**
         * Returns true if [fieldName] is an end-to-end HTTP header, as defined by RFC 2616,
         * 13.5.1.
         */
        private fun isEndToEnd(fieldName: String): Boolean =
          !"Connection".equals(fieldName, ignoreCase = true) &&
            !"Keep-Alive".equals(fieldName, ignoreCase = true) &&
            !"Proxy-Authenticate".equals(fieldName, ignoreCase = true) &&
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Parameter.java

        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return position;
      }
    
      @Override
      public String toString() {
        return type + " arg" + position;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

    import jcifs.dcerpc.DcerpcConstants;
    import jcifs.dcerpc.DcerpcMessage;
    
    @DisplayName("MsrpcSamrConnect2 Tests")
    public class MsrpcSamrConnect2Test {
    
        private SamrPolicyHandle mockPolicyHandle;
        private String testServer;
        private int testAccess;
    
        @BeforeEach
        void setUp() {
            mockPolicyHandle = mock(SamrPolicyHandle.class);
            testServer = "testServer";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/response-directly.md

    Digamos que quieres devolver un response en <a href="https://en.wikipedia.org/wiki/XML" class="external-link" target="_blank">XML</a>.
    
    Podrías poner tu contenido XML en un string, poner eso en un `Response`, y devolverlo:
    
    {* ../../docs_src/response_directly/tutorial002.py hl[1,18] *}
    
    ## Notas
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top