Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2441 - 2450 of 3,073 for patch (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

        try {
          getMap()
              .computeIfPresent(
                  k3(),
                  (k, v) -> {
                    throw new AssertionFailedError();
                  });
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          ) {
            continue;
          }
          Class<?> clazz = info.load();
          try {
            Method unused = clazz.getDeclaredMethod("writeReplace");
            continue; // It overrides writeReplace, so it's safe.
          } catch (NoSuchMethodException e) {
            // This is a class whose supertypes we want to examine. We'll do that below.
          }
          Optional<Class<?>> supersWithPackagePrivateWriteReplace =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                                }
                            }
                            server.oemDomainName = new String(buffer, bufferIndex, len, SmbConstants.OEM_ENCODING);
                        }
                    } catch (final UnsupportedEncodingException uee) {
                        if (LogStream.level > 1) {
                            uee.printStackTrace(log);
                        }
                    }
                    bufferIndex += len;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

            try {
                final XPathFactory factory = XPathFactory.newInstance();
                builder.accept(factory);
                return factory.newXPath();
            } catch (final Exception e) {
                throw new CrawlerSystemException("Failed to create XPath instance.", e);
            }
        }
    
        /**
         *  Use an XPath string to select a nodelist.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsWebAuthenticationBhv.java

                result.setUsername(DfTypeUtil.toString(source.get("username")));
                result.setWebConfigId(DfTypeUtil.toString(source.get("webConfigId")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            // so this should throw a NullPointerException
            try {
                ltrQueryRescorer.evaluate(null);
                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected behavior - StoredLtrQueryBuilder requires non-null params
                assertNotNull(e);
            }
        }
    
        public void test_evaluate_withDifferentWindowSizes() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testPut_unsupportedPresentExistingValue() {
        try {
          assertEquals("put(present, existingValue) should return present or throw", v0(), put(e0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

                     * to return a proper ListenableFuture instead of using listenInPoolThread.
                     */
                    getUninterruptibly(delegate);
                  } catch (Throwable t) {
                    // (including CancellationException and sneaky checked exception)
                    // The task is presumably done, run the listeners.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

                outputBufferField.setAccessible(true);
                byte[] actualBuffer = (byte[]) outputBufferField.get(response);
                assertSame(outputBuffer, actualBuffer);
            } catch (Exception e) {
                fail("Failed to access outputBuffer field: " + e.getMessage());
            }
        }
    
        @Test
        void testWriteSetupWireFormat() {
            // Test that writeSetupWireFormat returns 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

                            // Release buffer
                            BufferCache.releaseBuffer(buffer);
                            successCount.incrementAndGet();
                        }
                    } catch (Exception e) {
                        synchronized (exceptions) {
                            exceptions.add(e);
                        }
                    } finally {
                        endLatch.countDown();
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top