Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5251 - 5260 of 7,804 for RETURN (0.04 seconds)

  1. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

        val dispatcher: Dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse {
              requestsMade.add(request)
              return MockResponse()
            }
          }
        assertThat(requestsMade.size).isEqualTo(0)
        mockWebServer.dispatcher = dispatcher
        val url = mockWebServer.url("/").toUrl()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 3.2K bytes
    - Click Count (1)
  2. src/main/java/jcifs/smb/DosFileFilter.java

         * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was
         * specified the server may still return objects that are not directories).
         */
        @Override
        public boolean accept(final SmbFile file) throws SmbException {
            return (file.getAttributes() & this.attributes) != 0;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

          Uninterruptibles.awaitUninterruptibly(latch);
        }
    
        @Override
        boolean awaitLatchUninterruptibly(long timeout, TimeUnit unit) {
          return Uninterruptibles.awaitUninterruptibly(latch, timeout, unit);
        }
    
        @Override
        long getCount() {
          return latch.getCount();
        }
      }
    
      /** Manages a {@link BlockingQueue} and associated timings for a {@code put} call. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
                return 1;
              }
            };
    
        builder.put(entry);
        holder.string = "two";
        assertMapEquals(builder.build(), "one", 1);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                return paramWordsWritten;
            }
    
            @Override
            protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
                bytesWritten = 20;
                return bytesWritten;
            }
    
            @Override
            protected int readParameterWordsWireFormat(byte[] src, int srcIndex) {
                paramWordsRead = 10;
                return paramWordsRead;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilder.java

        /**
         * Builds the effective toolchains for the specified toolchains files.
         *
         * @param request the toolchains building request that holds the parameters, must not be {@code null}
         * @return the result of the toolchains building, never {@code null}
         * @throws ToolchainsBuilderException if the effective toolchains could not be built
         */
        ToolchainsBuilderResult build(ToolchainsBuilderRequest request);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Aug 22 14:47:43 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

            listOf(addresses[0])
          }
    
        private operator fun Throwable?.plus(throwable: Throwable): Throwable {
          if (this != null) {
            addSuppressed(throwable)
            return this
          }
          return throwable
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/additional-responses.md

    For example, you can add an additional media type of `image/png`, declaring that your *path operation* can return a JSON object (with media type `application/json`) or a PNG image:
    
    {* ../../docs_src/additional_responses/tutorial002_py310.py hl[17:22,26] *}
    
    /// note
    
    Notice that you have to return the image using a `FileResponse` directly.
    
    ///
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                return th;
            }
    
            private CIFSContext ctxWithIgnore(boolean ignore) {
                CIFSContext ctx = mock(CIFSContext.class);
                Configuration cfg = mock(Configuration.class);
                when(cfg.isIgnoreCopyToException()).thenReturn(ignore);
                when(ctx.getConfig()).thenReturn(cfg);
                return ctx;
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

        Map<String, Integer> map = new HashMap<>();
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Map<String, Integer> map = new HashMap<>();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("cow", 3);
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top