Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4431 - 4440 of 6,918 for RETURN (0.04 sec)

  1. android/guava/src/com/google/common/collect/TopKSelector.java

        buffer[pivotNewIndex] = pivotValue;
        return pivotNewIndex;
      }
    
      private void swap(int i, int j) {
        T tmp = buffer[i];
        buffer[i] = buffer[j];
        buffer[j] = tmp;
      }
    
      TopKSelector<T> combine(TopKSelector<T> other) {
        for (int i = 0; i < other.bufferSize; i++) {
          this.offer(uncheckedCastNullableTToT(other.buffer[i]));
        }
        return this;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Striped64.java

       * to Unsafe.getUnsafe when integrating into a jdk.
       *
       * @return a sun.misc.Unsafe
       */
      private static Unsafe getUnsafe() {
        try {
          return Unsafe.getUnsafe();
        } catch (SecurityException tryReflectionInstead) {
        }
        try {
          return AccessController.doPrivileged(
              new PrivilegedExceptionAction<Unsafe>() {
                @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asIndexHtml();
        }
    
        private HtmlResponse asIndexHtml() {
            return asHtml(path_AdminUpgrade_AdminUpgradeJsp).useForm(UpgradeForm.class);
        }
    
        @Execute
        @Secured({ ROLE })
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 54K bytes
    - Viewed (0)
  4. docs_src/security/tutorial001_an.py

    from typing_extensions import Annotated
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    @app.get("/items/")
    async def read_items(token: Annotated[str, Depends(oauth2_scheme)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 319 bytes
    - Viewed (0)
  5. docs_src/security/tutorial001_an_py39.py

    from fastapi.security import OAuth2PasswordBearer
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    @app.get("/items/")
    async def read_items(token: Annotated[str, Depends(oauth2_scheme)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 309 bytes
    - Viewed (0)
  6. docs/uk/docs/index.md

        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

          micros += (long) (stableIntervalMicros * permitsToTake);
          return micros;
        }
    
        private double permitsToTime(double permits) {
          return stableIntervalMicros + permits * slope;
        }
    
        @Override
        double coolDownIntervalMicros() {
          return warmupPeriodMicros / maxPermits;
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.h

    //
    // If async execution is enabled, the call may simply enqueue the execution
    // and return "non-ready" handles in `retvals`. Note that any handles contained
    // in 'op' should not be mutated till the kernel execution actually finishes.
    //
    // For sync execution, if any of the inputs to `op` are not ready, this call
    // will block till they become ready and then return when the kernel execution
    // is done.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  9. internal/crypto/header_test.go

    	isEqual := func(x, y http.Header) bool {
    		if len(x) != len(y) {
    			return false
    		}
    		for k, v := range x {
    			u, ok := y[k]
    			if !ok || len(v) != len(u) {
    				return false
    			}
    			sort.Strings(v)
    			sort.Strings(u)
    			for j := range v {
    				if v[j] != u[j] {
    					return false
    				}
    			}
    		}
    		return true
    	}
    	areKeysEqual := func(h http.Header, metadata map[string]string) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

              @Override
              protected Integer initialValue() {
                return 0;
              }
            };
    
        final Callable<Integer> incrementTask =
            new Callable<Integer>() {
              @Override
              public Integer call() {
                int i = threadLocalCount.get();
                threadLocalCount.set(i + 1);
                return i;
              }
            };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top