Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,090 for safe (0.02 sec)

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

                    byte[] uniBytes = Strings.getUNIBytes(original);
                    String uniRoundTrip = Strings.fromUNIBytes(uniBytes, 0, uniBytes.length);
    
                    // When - round trip through ASCII encoding (for ASCII-safe strings)
                    if (original.chars().allMatch(c -> c < 128)) {
                        byte[] asciiBytes = Strings.getASCIIBytes(original);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractService.java

         */
        Throwable failureCause() {
          checkState(
              state == FAILED,
              "failureCause() is only valid if the service has failed, service is %s",
              state);
          // requireNonNull is safe because the constructor requires a non-null cause with state=FAILED.
          return requireNonNull(failure);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Service.java

       *
       * @param listener the listener to run when the service changes state is complete
       * @param executor the executor in which the listeners callback methods will be run. For fast,
       *     lightweight listeners that would be safe to execute in any thread, consider {@link
       *     MoreExecutors#directExecutor}.
       * @since 13.0
       */
      void addListener(Listener listener, Executor executor);
    
      /**
       * The lifecycle states of a service.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportImplTest.java

            when(cfg.getResponseTimeout()).thenReturn(5_000);
            when(address.getHostAddress()).thenReturn("127.0.0.1");
            when(address.getHostName()).thenReturn("localhost");
    
            // Create the transport with safe defaults (no real sockets)
            transport = new SmbTransportImpl(ctx, address, 445, null, 0, false);
    
            // Reset MID to a known starting point for deterministic behavior
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

                verify(mockBuffer).enc_ndr_long(message.call_id);
                verify(mockBuffer).enc_ndr_long(12345); // From TestDcerpcMessage.encode_in
                // Note: ptype = 2 (RESPONSE) so it's safe to verify
                verify(mockBuffer).enc_ndr_small(DcerpcConstants.RPC_PT_RESPONSE);
            }
        }
    
        @Nested
        @DisplayName("Message Decoding Tests")
        class MessageDecodingTests {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  6. cmd/local-locker.go

    			for _, lri := range lris {
    				uids = append(uids, lri.UID)
    			}
    
    			// Delete collected uids:
    			for _, uid := range uids {
    				lris, ok := l.lockMap[resource]
    				if !ok {
    					// Just to be safe, delete uuids.
    					for idx := range maxDeleteList {
    						mapID := formatUUID(uid, idx)
    						if _, ok := l.lockUID[mapID]; !ok {
    							break
    						}
    						delete(l.lockUID, mapID)
    					}
    					continue
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                    logger.info("Stopping all crawler.");
                }
                forceStop();
            }
        }
    
        /**
         * Adds a finished session ID to the cleanup list.
         * This method is thread-safe and adds the session ID to be cleaned up later.
         *
         * @param sessionId the crawler session ID that has finished processing
         */
        public void addFinishedSessionId(final String sessionId) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

         * hold the synchronizer. This synchronizer is used to implement the blocking and waiting calls
         * as well as to handle state changes in a thread-safe manner. The current state of the future
         * is held in the Sync state, and the lock is released whenever the state changes to {@link
         * #COMPLETED}, {@link #CANCELLED}, or {@link #INTERRUPTED}
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ServerResponseValidator.java

            totalValidations.set(0);
            failedValidations.set(0);
            bufferOverflowsPrevented.set(0);
            integerOverflowsPrevented.set(0);
        }
    
        /**
         * Sanitize string for safe logging
         */
        private String sanitizeForLog(String str) {
            if (str == null) {
                return "null";
            }
    
            // Truncate long strings
            if (str.length() > 100) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Equivalence.java

       *       (<i>symmetric</i> property)
       *   <li>If {@code equivalent(x, y)} and {@code equivalent(y, z)} are both true, then {@code
       *       equivalent(x, z)} is also true (<i>transitive</i> property)
       * </ul>
       *
       * <p>Note that all calls to {@code equivalent(x, y)} are expected to return the same result as
       * long as neither {@code x} nor {@code y} is modified.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top