Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 364 for rails (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        assertThat(cache.isClosed()).isTrue()
      }
    
      @Test
      fun journalWriteFailsDuringEdit() {
        set("a", "a", "a")
        set("b", "b", "b")
    
        // We can't begin the edit if writing 'DIRTY' fails.
        filesystem.setFaultyWrite(journalFile, true)
        assertThat(cache.edit("c")).isNull()
    
        // Once the journal has a failure, subsequent writes aren't permitted.
        filesystem.setFaultyWrite(journalFile, false)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

         * Creates a RelatedQuery entity from the provided form data.
         *
         * @param form the form containing the related query data
         * @return optional entity containing the related query data, or empty if creation fails
         */
        public static OptionalEntity<RelatedQuery> getRelatedQuery(final CreateForm form) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

                // Check if the message contains the expected text
                // It could be either "Unexpected number of update indices" or "Unexpected number of search indices"
                // depending on which check fails first
                assertTrue("Exception message should mention unexpected indices: " + exceptionMessage,
                        exceptionMessage.contains("Unexpected number of update indices")
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
    
        @Override
        protected Map<Integer, Character> getValueNotInPopulatedMap() {
          return ImmutableMap.of();
        }
    
        /**
         * The version of this test supplied by {@link MapInterfaceTest} fails for this particular map
         * implementation, because {@code map.get()} returns a view collection that changes in the
         * course of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            // 3. after setFuture and set() are called but before the listener completes.
            if (!setFutureSetSuccess.get() || !setFutureCompletionSuccess.get()) {
              // If setFuture fails or set on the future fails then it must be because that future was
              // cancelled
              assertTrue(setFuture.isCancelled());
              assertTrue(setFuture.wasInterrupted()); // we only call cancel(true)
            }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        }
    
        /**
         * Resolves a hostname to an InetAddress.
         *
         * @param host the hostname to resolve
         * @return the resolved InetAddress
         * @throws FessSystemException if hostname resolution fails
         */
        protected InetAddress getInetAddressByName(final String host) {
            try {
                return InetAddress.getByName(host);
            } catch (final UnknownHostException e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 122.4K bytes
    - Viewed (1)
  7. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Should skip zero-length message and read actual data
            assertEquals(10, sis.read());
            assertEquals(20, sis.read());
    
            // After all data consumed, next read fails
            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
        @DisplayName("Unknown packet type is handled by continuing to next packet")
        void unknownPacketTypeHandled() throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/ServerResponseValidator.java

         *
         * @param buffer the buffer to validate
         * @param expectedSize expected minimum size
         * @param maxSize maximum allowed size
         * @throws SmbException if validation fails
         */
        public void validateBuffer(byte[] buffer, int expectedSize, int maxSize) throws SmbException {
            totalValidations.incrementAndGet();
    
            if (buffer == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/Kerb5ContextTest.java

            String s = ctx.toString();
            assertEquals("KERB5[src=client,targ=service,mech=1.2.3]", s);
        }
    
        @Test
        @DisplayName("toString falls back when GSS access fails")
        void toString_established_throws() throws Exception {
            when(gssContext.isEstablished()).thenReturn(true);
            when(gssContext.getSrcName()).thenThrow(new GSSException(GSSException.FAILURE));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

        connection.calls.add(CallReference(this, callStackTrace))
      }
    
      /**
       * Releases resources held with the request or response of [exchange]. This should be called when
       * the request completes normally or when it fails due to an exception, in which case [e] should
       * be non-null.
       *
       * If the exchange was canceled or timed out, this will wrap [e] in an exception that provides
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top