Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3941 - 3950 of 7,014 for _return (0.29 sec)

  1. src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java

         * @param o
         *            変換元のオブジェクト
         * @return {@literal byte}の配列
         */
        public static byte[] toBinary(final Object o) {
            if (o instanceof byte[]) {
                return (byte[]) o;
            } else if (o == null) {
                return null;
            } else {
                assertArgument("o", o instanceof String, o.getClass().toString());
                return ((String) o).getBytes();
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. tests/test_starlette_urlconvertors.py

    @app.get("/int/{param:int}")
    def int_convertor(param: int = Path()):
        return {"int": param}
    
    
    @app.get("/float/{param:float}")
    def float_convertor(param: float = Path()):
        return {"float": param}
    
    
    @app.get("/path/{param:path}")
    def path_convertor(param: str = Path()):
        return {"path": param}
    
    
    @app.get("/query/")
    def query_convertor(param: str = Query()):
        return {"query": param}
    
    
    client = TestClient(app)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 27 14:46:06 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/MinimalSetTest.java

     *
     * @author Regina O'Dell
     */
    public class MinimalSetTest extends TestCase {
      public static Test suite() {
        return SetTestSuiteBuilder.using(
                new TestStringSetGenerator() {
                  @Override
                  protected Set<String> create(String[] elements) {
                    return MinimalSet.of(elements);
                  }
                })
            .named("MinimalSet")
            .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SetsFilterHashSetTest.java

      @Override
      Set<Integer> createUnfiltered(Iterable<Integer> contents) {
        return newHashSet(contents);
      }
    
      @Override
      Set<Integer> filter(Set<Integer> elements, Predicate<? super Integer> predicate) {
        return Sets.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacSidAttributes.java

            super();
            this.id = id;
            this.attributes = attributes;
        }
    
    
        public SID getId () {
            return this.id;
        }
    
    
        public int getAttributes () {
            return this.attributes;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  6. docs_src/dependencies/tutorial001_02_an_py39.py

        q: Union[str, None] = None, skip: int = 0, limit: int = 100
    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    CommonsDep = Annotated[dict, Depends(common_parameters)]
    
    
    @app.get("/items/")
    async def read_items(commons: CommonsDep):
        return commons
    
    
    @app.get("/users/")
    async def read_users(commons: CommonsDep):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 466 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                if (Constants.FALSE.equals(initParamMap.getAsString(DELETE_OLD_DOCS))) {
                    return;
                }
                final String sessionId = initParamMap.getAsString(Constants.SESSION_ID);
                if (StringUtil.isBlank(sessionId)) {
                    logger.warn("Invalid sessionId at {}", dataConfig);
                    return;
                }
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals(
            "next() should still return first element after peeking", "A", peekingIterator.next());
    
        assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());
        assertEquals(
            "Should be able to peek() middle element multiple times", "B", peekingIterator.peek());
        assertEquals(
            "next() should still return middle element after peeking", "B", peekingIterator.next());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

          // If either of these reads return null then we must be after a successful cancel or another
          // call to this method.
          TimeoutFuture<V> timeoutFuture = timeoutFutureRef;
          if (timeoutFuture == null) {
            return;
          }
          @RetainedLocalRef ListenableFuture<V> delegate = timeoutFuture.delegateRef;
          if (delegate == null) {
            return;
          }
    
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

                var attempt = 0
    
                override fun contentType(): MediaType? {
                  return null
                }
    
                override fun writeTo(sink: BufferedSink) {
                  sink.writeUtf8("attempt " + attempt++)
                }
    
                override fun isOneShot(): Boolean {
                  return true
                }
              },
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top