Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3361 - 3370 of 7,250 for return (0.15 sec)

  1. docs_src/extending_openapi/tutorial001.py

    from fastapi import FastAPI
    from fastapi.openapi.utils import get_openapi
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items():
        return [{"name": "Foo"}]
    
    
    def custom_openapi():
        if app.openapi_schema:
            return app.openapi_schema
        openapi_schema = get_openapi(
            title="Custom title",
            version="2.5.0",
            summary="This is a very custom OpenAPI schema",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 737 bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/InterceptorTest.kt

      }
    
      private fun uppercase(original: RequestBody?): RequestBody {
        return object : RequestBody() {
          override fun contentType(): MediaType? {
            return original!!.contentType()
          }
    
          override fun contentLength(): Long {
            return original!!.contentLength()
          }
    
          override fun writeTo(sink: BufferedSink) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

                      @Override
                      protected Multiset<String> create(String[] elements) {
                        return TreeMultiset.create(asList(elements));
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Ordering.natural().sortedCopy(insertionOrder);
                      }
                    })
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

            dstIndex += writeString(this.filename, dst, dstIndex);
    
            return dstIndex - start;
        }
    
    
        @Override
        protected int writeDataWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

            context.addHighlightedQuery(StringUtils.strip(query, "*"));
            return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> QueryBuilders.wildcardQuery(f, origQuery).boost(b * boost));
        }
    
        protected String toLowercaseWildcard(final String value) {
            if (lowercaseWildcard) {
                return value.toLowerCase(Locale.ROOT);
            }
            return value;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

            }
          }
        }
        return super.containsAll(collection);
      }
    
      @Override
      public Iterator<E> iterator() {
        return asList(contents).iterator();
      }
    
      @Override
      public @Nullable Object[] toArray() {
        @Nullable Object[] result = new @Nullable Object[contents.length];
        arraycopy(contents, 0, result, 0, contents.length);
        return result;
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

        }
    
        private static List<String> ps() {
            return run(determinePsCommand()).assertZeroExit().stdout.lines().collect(Collectors.toList());
        }
    
        private static String[] determinePsCommand() {
            if (isWindows()) {
                return new String[]{"wmic", "process", "get", "processid,commandline"};
            } else if (isMacOS()) {
                return new String[]{"ps", "x", "-o", "pid,command"};
            } else {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java

                throw new ParserConfigurationRuntimeException(e);
            }
            return factory;
        }
    
        /**
         * 新しい {@link DocumentBuilder}を作成します。
         *
         * @return 新しい {@link DocumentBuilder}
         */
        public static DocumentBuilder newDocumentBuilder() {
            try {
                return newInstance().newDocumentBuilder();
            } catch (final ParserConfigurationException e) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. cni/pkg/pluginlistener/listener.go

    	listener, err := net.Listen("unix", path)
    	if err != nil {
    		return nil, fmt.Errorf("failed to listen on unix socket %q: %v", path, err)
    	}
    
    	// Update file permission so that cni plugin has permission to access it.
    	if _, err := os.Stat(path); err != nil {
    		return nil, fmt.Errorf("cni listener file %q doesn't exist", path)
    	}
    	if err := os.Chmod(path, 0o666); err != nil {
    		return nil, fmt.Errorf("failed to update %q permission", path)
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java

        public WebApiManager get(final HttpServletRequest request) {
            for (final WebApiManager webApiManager : webApiManagers) {
                if (webApiManager.matches(request)) {
                    return webApiManager;
                }
            }
            return null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top