Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4341 - 4350 of 6,918 for RETURN (0.04 sec)

  1. guava/src/com/google/common/hash/PrimitiveSink.java

    public interface PrimitiveSink {
      /**
       * Puts a byte into this sink.
       *
       * @param b a byte
       * @return this instance
       */
      @CanIgnoreReturnValue
      PrimitiveSink putByte(byte b);
    
      /**
       * Puts an array of bytes into this sink.
       *
       * @param bytes a byte array
       * @return this instance
       */
      @CanIgnoreReturnValue
      PrimitiveSink putBytes(byte[] bytes);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  2. docs_src/custom_response/tutorial001.py

    from fastapi import FastAPI
    from fastapi.responses import UJSONResponse
    
    app = FastAPI()
    
    
    @app.get("/items/", response_class=UJSONResponse)
    async def read_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 197 bytes
    - Viewed (0)
  3. docs_src/custom_response/tutorial010.py

    from fastapi import FastAPI
    from fastapi.responses import ORJSONResponse
    
    app = FastAPI(default_response_class=ORJSONResponse)
    
    
    @app.get("/items/")
    async def read_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jun 13 16:02:45 UTC 2020
    - 205 bytes
    - Viewed (0)
  4. docs_src/custom_response/tutorial001b.py

    from fastapi import FastAPI
    from fastapi.responses import ORJSONResponse
    
    app = FastAPI()
    
    
    @app.get("/items/", response_class=ORJSONResponse)
    async def read_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 01 09:59:05 UTC 2022
    - 215 bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      private static FluentIterable<Integer> fluent(Integer... elements) {
        return FluentIterable.from(Lists.newArrayList(elements));
      }
    
      private static Iterable<String> iterable(String... elements) {
        final List<String> list = asList(elements);
        return new Iterable<String>() {
          @Override
          public Iterator<String> iterator() {
            return list.iterator();
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  6. cni/pkg/iptables/iptables_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	compareToGolden(t, false, tt.name, ext.ExecutedAll)
    }
    
    func ipstr(ipv6 bool) string {
    	if ipv6 {
    		return "ipv6"
    	}
    	return "ipv4"
    }
    
    func compareToGolden(t *testing.T, ipv6 bool, name string, actual []string) {
    	t.Helper()
    	gotBytes := []byte(strings.Join(actual, "\n"))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

            if (StringUtil.isBlank(urlKey)) {
                return null;
            }
    
            for (final Map.Entry<Pattern, CrawlerClient> entry : clientMap.entrySet()) {
                final Matcher matcher = entry.getKey().matcher(urlKey);
                if (matcher.matches()) {
                    return entry.getValue();
                }
            }
            return null;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. docs_src/advanced_middleware/tutorial001.py

    from fastapi import FastAPI
    from fastapi.middleware.httpsredirect import HTTPSRedirectMiddleware
    
    app = FastAPI()
    
    app.add_middleware(HTTPSRedirectMiddleware)
    
    
    @app.get("/")
    async def main():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 231 bytes
    - Viewed (0)
  9. cmd/rebalancemetric_string.go

    var _rebalanceMetric_index = [...]uint8{0, 16, 31, 46, 67, 79}
    
    func (i rebalanceMetric) String() string {
    	if i >= rebalanceMetric(len(_rebalanceMetric_index)-1) {
    		return "rebalanceMetric(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _rebalanceMetric_name[_rebalanceMetric_index[i]:_rebalanceMetric_index[i+1]]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 19:36:57 UTC 2022
    - 988 bytes
    - Viewed (0)
  10. tests/test_router_redirect_slashes.py

    from fastapi.testclient import TestClient
    
    
    def test_redirect_slashes_enabled():
        app = FastAPI()
        router = APIRouter()
    
        @router.get("/hello/")
        def hello_page() -> str:
            return "Hello, World!"
    
        app.include_router(router)
    
        client = TestClient(app)
    
        response = client.get("/hello/", follow_redirects=False)
        assert response.status_code == 200
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jun 22 10:37:50 UTC 2023
    - 974 bytes
    - Viewed (0)
Back to top