Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 941 - 950 of 2,682 for latch (0.02 seconds)

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

        try {
          getMap().replace(k3(), null);
        } catch (NullPointerException tolerated) {
          // permitted not to throw because it would be a no-op
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEY_QUERIES)
      public void testReplace_absentNullKeyUnsupported() {
        try {
          getMap().replace(null, v3());
        } catch (NullPointerException tolerated) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            } catch (final IllegalArgumentException e) {
                assertTrue(e.getMessage().contains("xml"));
            }
        }
    
        @Test
        public void test_createFormatter_null() {
            try {
                indexExportJob.createFormatter(null);
                fail("Expected IllegalArgumentException");
            } catch (final IllegalArgumentException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                            null,
                            "artifactId of a plugin must be defined. ",
                            plugin);
                }
    
                // This will catch cases like <version></version> or <version/>
                if (plugin.getVersion() != null && plugin.getVersion().trim().isEmpty()) {
                    addViolation(
                            problems,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  4. fastapi/openapi/constants.py

    METHODS_WITH_BODY = {"GET", "HEAD", "POST", "PUT", "DELETE", "PATCH"}
    REF_PREFIX = "#/components/schemas/"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 153 bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            try {
                throw new ServletRuntimeException(originalException);
            } catch (ServletRuntimeException caught) {
                // Verify the caught exception
                assertNotNull(caught);
                assertEquals(originalException, caught.getCause());
                assertTrue(caught.getMessage().contains("ServletException"));
            } catch (Exception e) {
                fail("Should have caught ServletRuntimeException");
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

            final int start = bufferIndex;
    
            final int len = readStringLength(buffer, bufferIndex, 32);
            try {
                this.service = new String(buffer, bufferIndex, len, "ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
            bufferIndex += len + 1;
            // win98 observed not returning nativeFileSystem
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            int result = -1;
    
            synchronized (lock) {
                try {
                    while (used == 0) {
                        lock.wait();
                    }
                } catch (final InterruptedException ie) {
                    throw new IOException(ie.getMessage());
                }
                result = pipe_buf[beg_idx] & 0xFF;
                beg_idx = (beg_idx + 1) % pipe_buf.length;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

            try {
                try (ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token))) {
                    sequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            } catch (IOException e) {
                throw new PACDecodingException("Malformed Kerberos Ticket", e);
            }
            return sequence;
        }
    
        /**
         * Creates a Kerberos AP request from an ASN.1 sequence.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. docs/en/docs/js/custom.js

            });
        });
    
        Promise.all(imagePromises)
            .then(() => {
                announceRight.style.display = 'block';
                showRandomAnnouncement('announce-right', 10000);
            })
            .catch(() => {
                // do nothing
            });
    }
    
    function openLinksInNewTab() {
        const siteUrl = document.querySelector("link[rel='canonical']")?.href
            || window.location.origin;
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:59:48 GMT 2026
    - 7.7K bytes
    - Click Count (2)
  10. src/main/java/org/codelibs/core/io/FileUtil.java

         */
        public static String getCanonicalPath(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return file.getCanonicalPath();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Converts this abstract pathname to a <code>file:</code> URL.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
Back to Top