Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1611 - 1620 of 2,371 for Try (0.15 seconds)

  1. guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

         * test code tidy and is used where unit‑testing logic relies on
         * internally stored data.
         */
        private static Object getPrivateField(Object target, String name) {
            try {
                java.lang.reflect.Field f = target.getClass().getDeclaredField(name);
                f.setAccessible(true);
                return f.get(target);
            } catch (Exception e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            public LifecycleWrapperProvider(PlexusContainer container) {
                this.container = container;
            }
    
            @Override
            public Collection<Lifecycle> provides() {
                try {
                    Map<String, org.apache.maven.lifecycle.Lifecycle> all =
                            container.lookupMap(org.apache.maven.lifecycle.Lifecycle.class);
                    return all.keySet().stream()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

            AtomicInteger totalDrained = new AtomicInteger(0);
    
            for (int t = 0; t < numThreads; t++) {
                final int threadId = t;
                executor.submit(() -> {
                    try {
                        startLatch.await();
                        for (int i = 0; i < eventsPerThread; i++) {
                            helper.offer(new LogNotificationEvent(i, "ERROR", "org.test", "t" + threadId + "-" + i, null));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  5. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

        /**
         * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and
         * some symbolic names meaningful to humans.
         */
        private static int decode(String userFriendly) {
          try {
            return Integer.decode(userFriendly);
          } catch (NumberFormatException ignored) {
            if (userFriendly.matches("(?i)(?:American|English|ASCII)")) {
              // 1-byte UTF-8 sequences - "American" ASCII text
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. docs/iam/access-management-plugin.md

    ## Quickstart
    
    To easily try out the feature, run the included demo Access Management Plugin program in this directory:
    
    ```sh
    go run access-manager-plugin.go
    ```
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Dec 13 22:28:48 GMT 2022
    - 4.4K bytes
    - Click Count (1)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

          }
          payload =
            Buffer().run {
              writeShort(code)
              if (reason != null) {
                write(reason)
              }
              readByteString()
            }
        }
    
        try {
          writeControlFrame(OPCODE_CONTROL_CLOSE, payload)
        } finally {
          writerClosed = true
        }
      }
    
      @Throws(IOException::class)
      private fun writeControlFrame(
        opcode: Int,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

              }
    
              private Set<List<Integer>> getAllStates() {
                return allStates;
              }
    
              private Object invokeListMethod(Method method, Object[] args) throws Throwable {
                try {
                  Object returnValue = method.invoke(delegate, args);
                  mutateDelegate();
                  return returnValue;
                } catch (InvocationTargetException e) {
                  throw e.getCause();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

                }
                off += r;
            }
            return off;
        }
    
        @Override
        public void close() throws IOException {
            super.close();
            try {
                this.handle.close();
            } finally {
                this.pipe.close();
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/Jdk.java

            Matcher jdkVersionMatcher = VERSION_PATTERN.matcher(version);
            if (jdkVersionMatcher.matches() == false) {
                // Try again with the pre-Java9 version format
                jdkVersionMatcher = LEGACY_VERSION_PATTERN.matcher(version);
    
                if (jdkVersionMatcher.matches() == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 19:29:10 GMT 2021
    - 6.8K bytes
    - Click Count (0)
Back to Top