Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1451 - 1460 of 1,782 for scratch (0.05 seconds)

  1. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *
       * <pre>
       *   TimeLimiter limiter = . . .;
       *   TargetType proxy = limiter.newProxy(
       *       target, TargetType.class, 50, TimeUnit.MILLISECONDS);
       *   try {
       *     return proxy.someMethod();
       *   } catch (UncheckedTimeoutException e) {
       *     return DEFAULT_VALUE;
       *   }
       * </pre>
       *
       * @param target the object to proxy
       * @param interfaceType the interface you wish the returned proxy to implement
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/pac/PacMac.java

                    if (key == null) {
                        throw new PACDecodingException("Missing key");
                    }
                    return calculateMacHMACAES(usage, key, data);
                }
    
            } catch (GeneralSecurityException e) {
                throw new PACDecodingException("Failed to calculate MAC", e);
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                                    container
                                            .lookup(Injector.class)
                                            .discover(extension.entry().getClassRealm());
                                } catch (Throwable e) {
                                    failures.add(new IllegalStateException(
                                            "Injection failure in "
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

            // [prefix]:[goal]
    
            if (session.getCurrentProject() != null) {
                try {
                    lifecyclePluginResolver.resolveMissingPluginVersions(session.getCurrentProject(), session);
                } catch (PluginVersionResolutionException e) {
                    // not critical here
                    logger.debug(e.getMessage(), e);
                }
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          // We use getUninterruptibly over getDone as a micro-optimization, we know the future is done.
          collectOneValue(index, getUninterruptibly(future));
        } catch (ExecutionException e) {
          handleException(e.getCause());
        } catch (Throwable t) { // sneaky checked exception
          handleException(t);
        }
      }
    
      private void decrementCountAndMaybeComplete(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/reflect/Types.java

          for (Method method : TypeVariableImpl.class.getMethods()) {
            if (method.getDeclaringClass().equals(TypeVariableImpl.class)) {
              try {
                method.setAccessible(true);
              } catch (AccessControlException e) {
                // OK: the method is accessible to us anyway. The setAccessible call is only for
                // unusual execution environments where that might not be true.
              }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Oct 31 19:34:24 GMT 2025
    - 24.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

      }
    
      private static void assertCastFails(long value) {
        try {
          SignedBytes.checkedCast(value);
          fail("Cast to byte should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage("%s not found in exception text: %s", value, ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

                servernameField.setAccessible(true);
                String servername = (String) servernameField.get(shareEnum);
                assertEquals("\\\\" + TEST_SERVER_NAME, servername);
            } catch (NoSuchFieldException | IllegalAccessException e) {
                fail("Failed to access servername field: " + e.getMessage());
            }
        }
    
        @Test
        void testGetEntriesWithMultipleShares() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/websockets.md

    When a WebSocket connection is closed, the `await websocket.receive_text()` will raise a `WebSocketDisconnect` exception, which you can then catch and handle like in this example.
    
    {* ../../docs_src/websockets_/tutorial003_py310.py hl[79:81] *}
    
    To try it out:
    
    * Open the app with several browser tabs.
    * Write messages from them.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/cache/LocalCache.java

          result = map;
          success = true;
        } catch (UnsupportedLoadingOperationException e) {
          success = true;
          throw e;
        } catch (InterruptedException e) {
          Thread.currentThread().interrupt();
          throw new ExecutionException(e);
        } catch (RuntimeException e) {
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
          throw new ExecutionException(e);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
Back to Top