Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1331 - 1340 of 1,922 for Try (0.11 sec)

  1. guava-tests/test/com/google/common/primitives/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")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/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")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. 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();
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jan 26 11:51:07 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

            int ownerNodeType;
            boolean isBeingDeleted;
            boolean isInConflict;
            boolean isActive;
            boolean isPermanent;
            int j;
            boolean addrFound = false;
    
            try {
                for( int i = 0; i < numberOfNames; srcIndex += 18, i++ ) {
                    for( j = srcIndex + 14; src[j] == 0x20; j-- )
                        ;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testComputeIfPresent_unsupportedAbsent() {
        try {
          getMap()
              .computeIfPresent(
                  k3(),
                  (k, v) -> {
                    throw new AssertionFailedError();
                  });
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

           * trivially, but it's enough to skip these ones.
           */
          ) {
            continue;
          }
          Class<?> clazz = info.load();
          try {
            Method unused = clazz.getDeclaredMethod("writeReplace");
            continue; // It overrides writeReplace, so it's safe.
          } catch (NoSuchMethodException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

            return query -> filter.parse(query, chain);
        }
    
        protected FilterChain createDefaultFilterChain() {
            return query -> {
                try {
                    return createQueryParser().parse(query);
                } catch (final ParseException e) {
                    throw new QueryParseException(e);
                }
            };
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Enums.java

       *
       * @since 12.0
       */
      @GwtIncompatible // reflection
      public static Field getField(Enum<?> enumValue) {
        Class<?>
            clazz = enumValue.getDeclaringClass();
        try {
          return clazz.getDeclaredField(enumValue.name());
        } catch (NoSuchFieldException impossible) {
          throw new AssertionError(impossible);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        }
    
        public InputStream getResponseBody() {
            if (responseBodyBytes != null) {
                return new ByteArrayInputStream(responseBodyBytes);
            }
            if (responseBodyFile != null) {
                try {
                    return new FileInputStream(responseBodyFile);
                } catch (final FileNotFoundException e) {
                    throw new IORuntimeException(e);
                }
            }
            return null;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/config/BaseConfiguration.java

                disallow.add(st.nextToken().trim());
            }
            this.disallowCompound = disallow;
        }
    
    
        protected void initDefaults () throws CIFSException {
    
            try {
                "".getBytes(SmbConstants.DEFAULT_OEM_ENCODING);
            }
            catch ( UnsupportedEncodingException uee ) {
                throw new CIFSException(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
Back to top