Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 498 for chain (0.03 seconds)

  1. android/guava/src/com/google/common/net/HostAndPort.java

          }
          return new String[] {host, hostPortString.substring(closeBracketIndex + 2)};
        }
      }
    
      /**
       * Provide a default port if the parsed string contained only a host.
       *
       * <p>You can chain this after {@link #fromString(String)} to include a port in case the port was
       * omitted from the input string. If a port was already provided, then this method is a no-op.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                DfsReferralDataImpl third = createInitializedDfsReferralDataImpl();
    
                // Build chain
                first.append(second);
                first.append(third);
    
                // Verify chain
                assertEquals(third, first.next());
                assertEquals(second, third.next());
                assertEquals(first, second.next());
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            ParseException parseException = new ParseException("Hierarchy test");
            QueryParseException queryParseException = new QueryParseException(parseException);
    
            // Verify inheritance chain
            assertTrue(queryParseException instanceof QueryParseException);
            assertTrue(queryParseException instanceof FessSystemException);
            assertTrue(queryParseException instanceof RuntimeException);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            assertEquals("test_stackTracePresent", firstElement.getMethodName());
        }
    
        @Test
        public void test_nestedExceptionChain() {
            // Test nested exception chain
            Throwable rootCause = new IllegalArgumentException("Root cause");
            Throwable middleCause = new IllegalStateException("Middle cause", rootCause);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/cache/ReferenceEntry.java

      @Nullable ValueReference<K, V> getValueReference();
    
      /** Sets the value reference for this entry. */
      void setValueReference(ValueReference<K, V> valueReference);
    
      /** Returns the next entry in the chain. */
      @Nullable ReferenceEntry<K, V> getNext();
    
      /** Returns the entry's hash. */
      int getHash();
    
      /** Returns the key for this entry. */
      @Nullable K getKey();
    
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/app/web/api/ApiResultTest.java

        }
    
        @Test
        public void test_ApiStartJobResponse_statusFluentChain() {
            final ApiStartJobResponse response = new ApiStartJobResponse();
            // status() returns ApiResponse, so the chain works when called last
            final ApiResponse returned = response.jobLogId("id-1").status(Status.OK);
            assertNotNull(returned);
        }
    
        @Test
        public void test_ApiStartJobResponse_hasVersionField() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus(), "Status should default to unsuccessful for message ctor");
        }
    
        // Happy path: message + cause constructor should chain cause and set unsuccessful status
        @ParameterizedTest
        @NullSource
        @ValueSource(strings = { "", "error", "detailed message" })
        @DisplayName("Message+Cause ctor: propagates message/cause and unsuccessful status")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertArrayEquals(pathBytes, actualPath);
        }
    
        @Test
        @DisplayName("Should handle chain operation correctly")
        void testChain() {
            // Given
            ServerMessageBlock2 nextMessage = mock(ServerMessageBlock2.class);
    
            // When
            boolean result = request.chain(nextMessage);
    
            // Then
            verify(nextMessage).setTreeId(Smb2Constants.UNSPECIFIED_TREEID);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

         * @param config the configuration
         * @param fid the file identifier
         * @param offset the file offset to read from
         * @param maxCount the maximum number of bytes to read
         * @param andx the next command in the chain
         */
        public SmbComReadAndX(final Configuration config, final int fid, final long offset, final int maxCount, final ServerMessageBlock andx) {
            super(config, SMB_COM_READ_ANDX, andx);
            this.fid = fid;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       */
      @JvmStatic
      fun fragmentBuffer(buffer: Buffer): Buffer {
        // Write each byte into a new buffer, then clone it so that the segments are shared.
        // Shared segments cannot be compacted so we'll get a long chain of short segments.
        val result = Buffer()
        while (!buffer.exhausted()) {
          val box = Buffer()
          box.write(buffer, 1)
          result.write(box.copy(), 1)
        }
        return result
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top