Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 397 for enough (0.07 sec)

  1. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

        long timeoutNanos = unit.toNanos(timeout);
        if (timeoutNanos <= OverflowAvoidingLockSupport.MAX_NANOSECONDS_THRESHOLD) {
          return super.get(timeout, unit);
        }
        // Waiting 68 years should be enough for any program.
        return super.get(
            min(timeoutNanos, OverflowAvoidingLockSupport.MAX_NANOSECONDS_THRESHOLD), NANOSECONDS);
      }
    
      /** Internal implementation detail used to invoke the listeners. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. docs_src/security/tutorial005_py310.py

        for scope in security_scopes.scopes:
            if scope not in token_data.scopes:
                raise HTTPException(
                    status_code=status.HTTP_401_UNAUTHORIZED,
                    detail="Not enough permissions",
                    headers={"WWW-Authenticate": authenticate_value},
                )
        return user
    
    
    async def get_current_active_user(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/cmd/addr2line/main.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Addr2line is a minimal simulation of the GNU addr2line tool,
    // just enough to support pprof.
    //
    // Usage:
    //
    //	go tool addr2line binary
    //
    // Addr2line reads hexadecimal addresses, one per line and with optional 0x prefix,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. docs_src/security/tutorial005_py39.py

        for scope in security_scopes.scopes:
            if scope not in token_data.scopes:
                raise HTTPException(
                    status_code=status.HTTP_401_UNAUTHORIZED,
                    detail="Not enough permissions",
                    headers={"WWW-Authenticate": authenticate_value},
                )
        return user
    
    
    async def get_current_active_user(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. internal/http/dial_linux.go

    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, 15)
    			}
    
    			// Set tcp user timeout in addition to the keep-alive - tcp-keepalive is not enough to close a socket
    			// with dead end because tcp-keepalive is not fired when there is data in the socket buffer.
    			//    https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die/
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/main/assemblies/files/fess.in.sh

    # Causes the JVM to dump its heap on OutOfMemory.
    #FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:+HeapDumpOnOutOfMemoryError"
    # The path to the heap dump location, note directory must exists and have enough
    # space for a full heap dump.
    #FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:HeapDumpPath=$FESS_HOME/logs/heapdump.hprof"
    
    # Disables explicit GC
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:+DisableExplicitGC"
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

               */
              || info.getName().contains("MultimapsTest")
          /*
           * Luckily, we don't care about analyzing tests at all. We'd skip them all if we could do so
           * trivially, but it's enough to skip these ones.
           */
          ) {
            continue;
          }
          Class<?> clazz = info.load();
          try {
            Method unused = clazz.getDeclaredMethod("writeReplace");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. mockwebserver/README.md

    1. Script the mocks.
    2. Run application code.
    3. Verify that the expected requests were made.
    
    Here's a complete example:
    
    ```java
    public void test() throws Exception {
      // Create a MockWebServer. These are lean enough that you can create a new
      // instance for every unit test.
      MockWebServer server = new MockWebServer();
    
      // Schedule some responses.
      server.enqueue(new MockResponse().setBody("hello, world!"));
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/HashMultimap.java

       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          HashMultimap<K, V> create() {
        return new HashMultimap<>();
      }
    
      /**
       * Constructs an empty {@code HashMultimap} with enough capacity to hold the specified numbers of
       * keys and values without rehashing.
       *
       * <p>You may also consider the equivalent {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 10:02:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. internal/logger/logonce.go

    	for uerr != nil {
    		// Save the current `uerr`
    		leafErr = uerr
    		// continue to look for leaf errors underneath
    		uerr = errors.Unwrap(leafErr)
    		depth++
    		if depth == unwrapErrsDepth {
    			// If we have reached enough depth we
    			// do not further recurse down, this
    			// is done to avoid any unnecessary
    			// latencies this might bring.
    			break
    		}
    	}
    	if uerr == nil {
    		leafErr = err
    	}
    	return leafErr
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top