Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2601 - 2610 of 5,169 for String (0.07 sec)

  1. src/test/java/jcifs/util/ServerResponseValidatorTest.java

        @Test
        public void testValidString() throws Exception {
            validator.validateString("normal string", 100, "test");
            validator.validateString(null, 100, "test"); // Null should be allowed
            // Should pass without exception
        }
    
        @Test
        public void testStringTooLong() throws Exception {
            String longString = "a".repeat(300);
            assertThrows(SmbException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. cmd/perf-tests.go

    	var wg sync.WaitGroup
    	var errOnce sync.Once
    	var retError string
    	var totalBytesWritten uint64
    	var totalBytesRead uint64
    
    	objCountPerThread := make([]uint64, opts.concurrency)
    
    	uploadsCtx, uploadsCancel := context.WithTimeout(ctx, opts.duration)
    	defer uploadsCancel()
    
    	objNamePrefix := pathJoin(speedTest, mustGetUUID())
    
    	userMetadata := make(map[string]string)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          if (Thread.interrupted()) {
            throw new InterruptedException();
          }
          remainingNanos = endNanos - System.nanoTime();
        }
    
        String futureToString = toString();
        String unitString = unit.toString().toLowerCase(Locale.ROOT);
        String message = "Waited " + timeout + " " + unit.toString().toLowerCase(Locale.ROOT);
        // Only report scheduling delay if larger than our spin threshold - otherwise it's just noise
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        return ATOMIC_HELPER.decrementAndGetRemainingCount(this);
      }
    
      final void clearSeenExceptions() {
        seenExceptionsField = null;
      }
    
      @VisibleForTesting
      static String atomicHelperTypeForTest() {
        return ATOMIC_HELPER.atomicHelperTypeForTest();
      }
    
      private abstract static class AtomicHelper {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

    import jcifs.SmbTransport;
    import jcifs.internal.CommonServerMessageBlock;
    
    /**
     * Information about a multi-channel connection
     */
    public class ChannelInfo {
    
        private final String channelId;
        private volatile SmbTransport transport;
        private final NetworkInterfaceInfo localInterface;
        private final NetworkInterfaceInfo remoteInterface;
        private volatile ChannelState state;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/PropertyConfigurationTest.java

            // Then
            // getWinsServers() returns InetAddress[], not String
            InetAddress[] winsServers = testConfig.getWinsServers();
            assertNotNull(winsServers);
            assertEquals(1, winsServers.length);
            assertEquals("192.168.1.1", winsServers[0].getHostAddress());
    
            // getBroadcastAddress() returns InetAddress, not String
            InetAddress broadcastAddr = testConfig.getBroadcastAddress();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportInternal.java

         * @return dfs referral
         * @throws SmbException if an SMB error occurs
         * @throws CIFSException if a CIFS error occurs
         */
        DfsReferralData getDfsReferrals(CIFSContext ctx, String name, String targetHost, String targetDomain, int rn) throws CIFSException;
    
        /**
         * Checks if message signing is supported but not mandatory.
         *
         * @return whether signatures are supported but not required
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            int changePasswordCallCount = 0;
            int loadCallCount = 0;
    
            User lastUpdatedUser;
            User lastDeletedUser;
            User lastLoadedUser;
            String lastChangePasswordUsername;
            String lastChangePasswordPassword;
    
            boolean changePasswordResult = false;
            User loadResult;
    
            @Override
            public void update(User user) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new Authenticate().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/CIFSExceptionTest.java

    @DisplayName("CIFSException Tests")
    class CIFSExceptionTest extends BaseTest {
    
        @Test
        @DisplayName("Should create CIFSException with message")
        void testCIFSExceptionWithMessage() {
            // Given
            String message = "CIFS operation failed";
    
            // When
            CIFSException exception = new CIFSException(message);
    
            // Then
            assertNotNull(exception);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top