Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 446 for Unsafe (0.04 sec)

  1. 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)
  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. 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)
  4. 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)
  5. android/guava/src/com/google/common/base/Strings.java

       *
       * <p>Consider normalizing your string references with {@link #nullToEmpty}. If you do, you can
       * use {@link String#isEmpty()} instead of this method, and you won't need special null-safe forms
       * of methods like {@link String#toUpperCase} either. Or, if you'd like to normalize "in the other
       * direction," converting empty strings to {@code null}, you can use {@link #emptyToNull}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                }
                releaseLease(key);
            } catch (Exception e) {
                log.error("Error handling lease break for key: " + key, e);
                // On error, ensure we're in safe state
                LeaseEntry entry = leases.get(key);
                if (entry != null) {
                    entry.updateState(Smb2LeaseState.SMB2_LEASE_NONE);
                }
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        }
      }
    
      /**
       * Returns an array containing all of the elements in this queue. The returned array elements are
       * in no particular order.
       *
       * <p>The returned array will be "safe" in that no references to it are maintained by this queue.
       * (In other words, this method must allocate a new array). The caller is thus free to modify the
       * returned array.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Booleans.java

       * values.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
       * <p><b>Note:</b> consider representing the collection as a {@link java.util.BitSet} instead.
       *
       * @param collection a collection of {@code Boolean} objects
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top