Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 781 - 790 of 1,503 for match1 (0.04 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/MirrorSelector.java

         * @param mirrors The available mirrors, may be {@code null}.
         * @return The mirror specification for the repository or {@code null} if no mirror matched.
         */
        Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                ndrShort1.encode(encodeBuffer);
    
                NdrShort ndrShort2 = new NdrShort(0);
                ndrShort2.decode(decodeBuffer);
    
                // Then: Values should match
                verify(encodeBuffer).enc_ndr_short(originalValue);
                verify(decodeBuffer).dec_ndr_short();
                assertEquals(ndrShort1.value, ndrShort2.value);
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

      }
    
      private void assertSetCountNegativeOldCount() {
        try {
          getMultiset().setCount(e3(), -1, 1);
          fail("calling setCount() with a negative oldCount should throw IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      // Negative oldCount.
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCountConditional_negativeOldCount_addSupported() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

            body.crudMode = CrudMode.CREATE;
            final WebConfig webConfig = getWebConfig(body).map(entity -> {
                try {
                    webConfigService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          val byteRead = inputStream.read()
          // OpenJDK behavior: end of stream.
          assertThat(byteRead).isEqualTo(-1)
        } catch (e: ProtocolException) {
          // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp
          // treats an incomplete response body as a ProtocolException.
        } catch (ioe: IOException) {
          // Change in https://bugs.openjdk.org/browse/JDK-8335135
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/QueuesTest.java

        Future<?> possiblyIgnoredError = threadPool.submit(new Interrupter(currentThread()));
        try {
          Queues.drain(q, ImmutableList.of(), 100, MAX_VALUE, NANOSECONDS);
          fail();
        } catch (InterruptedException expected) {
        }
      }
    
      public void testDrainUninterruptibly_doesNotThrow() throws Exception {
        for (BlockingQueue<Object> q : blockingQueues()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                        }
                    }
                } catch (final ClassNotFoundRuntimeException e) {
                    logger.debug("{}.{}.Handler does not exist.", basePackage, protocol, e);
                } catch (final NoSuchFieldRuntimeException e) {
                    logger.debug("{}.{}.Handler does not contain PROTOCOL_TYPE.", basePackage, protocol);
                } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

                try {
                    try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
                        badWordService.exportCsv(writer);
                    } catch (final Exception e) {
                        logger.warn("Failed to process a request.", e);
                        throwValidationError(messages -> messages.addErrorsFailedToDownloadBadwordFile(GLOBAL), this::asDownloadHtml);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/FileBackedOutputStream.java

              transfer.flush();
              // We've successfully transferred the data; switch to writing to file.
              out = transfer;
            } catch (IOException e) {
              if (transfer != null) {
                try {
                  transfer.close();
                } catch (IOException closeException) {
                  e.addSuppressed(closeException);
                }
              }
              temp.delete();
              throw e;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/DoubleMathTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.math.RoundingMode.CEILING;
    import static java.math.RoundingMode.DOWN;
    import static java.math.RoundingMode.FLOOR;
    import static java.math.RoundingMode.HALF_DOWN;
    import static java.math.RoundingMode.HALF_EVEN;
    import static java.math.RoundingMode.HALF_UP;
    import static java.math.RoundingMode.UNNECESSARY;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
Back to Top