Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 1,886 for Method (0.09 sec)

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

        return new FilterReader(reader) {
          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
            // if a buffer isn't being cleared correctly, this method will eventually start being called
            // with a len of 0 forever
            if (len <= 0) {
              fail("read called with a len of " + len);
            }
            // read fewer than the max number of chars to read
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

        return new FilterReader(reader) {
          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
            // if a buffer isn't being cleared correctly, this method will eventually start being called
            // with a len of 0 forever
            if (len <= 0) {
              fail("read called with a len of " + len);
            }
            // read fewer than the max number of chars to read
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/custom-response.md

    Let's say you want it to return indented and formatted JSON, so you want to use the orjson option `orjson.OPT_INDENT_2`.
    
    You could create a `CustomORJSONResponse`. The main thing you have to do is create a `Response.render(content)` method that returns the content as `bytes`:
    
    ```Python hl_lines="9-14  17"
    {!../../docs_src/custom_response/tutorial009c.py!}
    ```
    
    Now instead of returning:
    
    ```json
    {"message": "Hello World"}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            } finally {
                listener.finish();
            }
        }
    
        public DocComment parse(final MethodMetaData methodMetaData, final GenerationListener listener) {
            listener.start(String.format("method %s", methodMetaData));
            try {
                ClassMetaData ownerClass = methodMetaData.getOwnerClass();
                String rawCommentText = methodMetaData.getRawCommentText();
                try {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/common/admin/sidebar.jsp

    		</span>
    	</la:link>
    	<div class="sidebar">
    		<c:if test="${fe:permission('admin-searchlist-view')}">
    			<form action="<%=request.getContextPath()%>/admin/searchlist/search" method="GET" class="form-inline mt-2 sidebar-search">
    				<div class="input-group">
    					<input class="form-control form-control-sidebar" name="q" id="query"
    						   maxlength="1000"
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Apr 15 20:55:28 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

         *
         * @param streamId client-initiated stream ID.  Must be an odd number.
         * @param promisedStreamId server-initiated stream ID.  Must be an even number.
         * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`, and `:path`.
         */
        @Throws(IOException::class)
        fun pushPromise(
          streamId: Int,
          promisedStreamId: Int,
          requestHeaders: List<Header>,
        )
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/DuplexTest.kt

            .addHeader("h1", "v1")
            .addHeader("h2", "v2")
            .streamHandler(body)
            .build(),
        )
        val request =
          Request.Builder()
            .url(server.url("/"))
            .method("POST", AsyncRequestBody())
            .build()
        val call = client.newCall(request)
        call.execute().use { response ->
          val sink = (request.body as AsyncRequestBody?)!!.takeSink()
          sink.writeUtf8("hey\n")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeRangeMap.java

      }
    
      @Override
      public void remove(Range<K> rangeToRemove) {
        if (rangeToRemove.isEmpty()) {
          return;
        }
    
        /*
         * The comments for this method will use [ ] to indicate the bounds of rangeToRemove and ( ) to
         * indicate the bounds of ranges in the range map.
         */
        Entry<Cut<K>, RangeMapEntry<K, V>> mapEntryBelowToTruncate =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

          expected.put(alternatingKeysAndValues[i], alternatingKeysAndValues[i + 1]);
        }
        assertThat(map).containsExactlyEntriesIn(expected).inOrder();
      }
    
      /** No-op test so that the class has at least one method, making Maven's test runner happy. */
      public void testNoop() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/DES.java

    // DesCipher - the DES encryption method
    //
    // The meat of this code is by Dave Zimmerman <******@****.***>, and is:
    //
    // Copyright (c) 1996 Widget Workshop, Inc. All Rights Reserved.
    //
    // Permission to use, copy, modify, and distribute this software
    // and its documentation for NON-COMMERCIAL or COMMERCIAL purposes and
    // without fee is hereby granted, provided that this copyright notice is kept
    // intact.
    //
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 21.4K bytes
    - Viewed (0)
Back to top