Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 222 for safety (0.27 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

       */
      private fun doReadTimeout() = !connection.client || sink.closed || sink.finished
    
      /**
       * A source that reads the incoming data frames of a stream. Although this class uses
       * synchronization to safely receive incoming data frames, it is not intended for use by multiple
       * readers.
       */
      inner class FramingSource internal constructor(
        /** Maximum number of bytes to buffer before reporting a flow control error. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/collect/MultimapBuilder.java

       * Multimap#asMap()} will iterate through the keys in sorted order.
       *
       * <p>For all multimaps generated by the resulting builder, the {@link Multimap#keySet()} can be
       * safely cast to a {@link java.util.SortedSet}, and the {@link Multimap#asMap()} can safely be
       * cast to a {@link java.util.SortedMap}.
       */
      @SuppressWarnings("rawtypes")
      public static MultimapBuilderWithKeys<Comparable> treeKeys() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. internal/disk/stat_windows.go

    	if _, err = os.Stat(path); err != nil {
    		return Info{}, err
    	}
    
    	lpFreeBytesAvailable := int64(0)
    	lpTotalNumberOfBytes := int64(0)
    	lpTotalNumberOfFreeBytes := int64(0)
    
    	// Extract values safely
    	// BOOL WINAPI GetDiskFreeSpaceEx(
    	// _In_opt_  LPCTSTR         lpDirectoryName,
    	// _Out_opt_ PULARGE_INTEGER lpFreeBytesAvailable,
    	// _Out_opt_ PULARGE_INTEGER lpTotalNumberOfBytes,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. cmd/healthcheck-handler.go

    		w.Header().Set(xhttp.MinIOHealingDrives, strconv.Itoa(result.HealingDrives))
    	}
    	if !result.Healthy {
    		// As a maintenance call we are purposefully asked to be taken
    		// down, this is for orchestrators to know if we can safely
    		// take this server down, return appropriate error.
    		if opts.Maintenance {
    			writeResponse(w, http.StatusPreconditionFailed, nil, mimeNone)
    		} else {
    			writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 03 21:13:20 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. cmd/postpolicyform.go

    	policyCondStartsWith    = "starts-with"
    	policyCondContentLength = "content-length-range"
    )
    
    // toString - Safely convert interface to string without causing panic.
    func toString(val interface{}) string {
    	switch v := val.(type) {
    	case string:
    		return v
    	default:
    		return ""
    	}
    }
    
    // toLowerString - safely convert interface to lower string
    func toLowerString(val interface{}) string {
    	return strings.ToLower(toString(val))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMap.java

           * entries, but this is safe; if this Builder is used further, it will grow the entries array
           * (so it can't affect the original array), and future build() calls will always copy any
           * entry objects that cannot be safely reused.
           */
          switch (size) {
            case 0:
              return of();
            case 1:
              // requireNonNull is safe because the first `size` elements have been filled in.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

            case 0:
              return of();
            case 1:
              /*
               * requireNonNull is safe because we ensure that the first `distinct` elements have been
               * populated.
               */
              return of(requireNonNull(dedupedElements[0]));
            default:
              /*
               * The suppression is safe because we ensure that the first `distinct` elements have been
               * populated.
               */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  8. istioctl/pkg/precheck/precheck.go

    					"  To get started, check out https://istio.io/latest/docs/setup/getting-started/\n")
    			} else {
    				fmt.Fprintln(cmd.OutOrStdout(), output)
    			}
    			for _, m := range msgs {
    				if m.Type.Level().IsWorseThanOrEqualTo(diag.Warning) {
    					e := fmt.Sprintf(`Issues found when checking the cluster. Istio may not be safe to install or upgrade.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMap.java

           * directly and writing over the entry objects with non-terminal entries, but this is
           * safe; if this Builder is used further, it will grow the entries array (so it can't
           * affect the original array), and future build() calls will always copy any entry
           * objects that cannot be safely reused.
           */
          // localAlternatingKeysAndValues is an alias for the alternatingKeysAndValues field, except if
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableMultiset.java

         * subclass overrides all the methods that access it here. Thus, all the methods here can safely
         * assume that this field is non-null.
         */
        @CheckForNull ObjectCountHashMap<E> contents;
    
        /**
         * If build() has been called on the current contents multiset, we need to copy it on any future
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top