Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 156 for returns_ (0.14 sec)

  1. src/crypto/tls/common.go

    		if c.flags&suiteECDHE == 0 {
    			return false
    		}
    		if c.flags&suiteECSign != 0 {
    			if !ecdsaCipherSuite {
    				return false
    			}
    		} else {
    			if ecdsaCipherSuite {
    				return false
    			}
    		}
    		if vers < VersionTLS12 && c.flags&suiteTLS12 != 0 {
    			return false
    		}
    		return true
    	})
    	if cipherSuite == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    		case osIsPermission(err):
    			return errDiskAccessDenied
    		case isSysErrIO(err):
    			return errFaultyDisk
    		default:
    			return err
    		}
    	}
    	return nil
    }
    
    // ListDir - return all the entries at the given directory path.
    // If an entry is a directory it will be returned with a trailing SlashSeparator.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  3. guava/src/com/google/common/collect/MapMakerInternalMap.java

          sum += segments[i].count;
        }
        return Ints.saturatedCast(sum);
      }
    
      @CheckForNull
      @Override
      public V get(@CheckForNull Object key) {
        if (key == null) {
          return null;
        }
        int hash = hash(key);
        return segmentFor(hash).get(key, hash);
      }
    
      /**
       * Returns the internal entry for the specified key. The entry may be computing or partially
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  4. src/time/time.go

    		return d - r
    	}
    	if d1 := d + m - r; d1 > d {
    		return d1
    	}
    	return maxDuration // overflow
    }
    
    // Abs returns the absolute value of d.
    // As a special case, [math.MinInt64] is converted to [math.MaxInt64].
    func (d Duration) Abs() Duration {
    	switch {
    	case d >= 0:
    		return d
    	case d == minDuration:
    		return maxDuration
    	default:
    		return -d
    	}
    }
    
    // Add returns the time t+d.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  5. src/reflect/type.go

    		return true
    	case Func:
    		return canRangeFunc2(&t.t)
    	case Pointer:
    		return t.Elem().Kind() == Array
    	}
    	return false
    }
    
    func canRangeFunc2(t *abi.Type) bool {
    	if t.Kind() != abi.Func {
    		return false
    	}
    	f := t.FuncType()
    	if f.InCount != 1 || f.OutCount != 0 {
    		return false
    	}
    	y := f.In(0)
    	if y.Kind() != abi.Func {
    		return false
    	}
    	yield := y.FuncType()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  6. cmd/peer-rest-server.go

    	return madminPartitions.NewJSONWith(&info), nil
    }
    
    // GetOSInfoHandler - returns operating system's information.
    func (s *peerRESTServer) GetOSInfoHandler(_ *grid.MSS) (*grid.JSON[madmin.OSInfo], *grid.RemoteErr) {
    	info := madmin.GetOSInfo(context.Background(), globalLocalNodeName)
    	return madminOSInfo.NewJSONWith(&info), nil
    }
    
    // GetProcInfoHandler - returns this MinIO process information.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/runtime/framework.go

    		return true
    	}
    	return false
    }
    
    // HasFilterPlugins returns true if at least one filter plugin is defined.
    func (f *frameworkImpl) HasFilterPlugins() bool {
    	return len(f.filterPlugins) > 0
    }
    
    // HasPostFilterPlugins returns true if at least one postFilter plugin is defined.
    func (f *frameworkImpl) HasPostFilterPlugins() bool {
    	return len(f.postFilterPlugins) > 0
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  8. src/net/http/transport.go

    	return envProxyFunc()(req.URL)
    }
    
    // ProxyURL returns a proxy function (for use in a [Transport])
    // that always returns the same URL.
    func ProxyURL(fixedURL *url.URL) func(*Request) (*url.URL, error) {
    	return func(*Request) (*url.URL, error) {
    		return fixedURL, nil
    	}
    }
    
    // transportRequest is a wrapper around a *Request that adds
    // optional extra headers to write and stores any error to return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    		return j.ObjectV1.Signature()
    	}
    	return signatureErr
    }
    
    // getModTime will return the ModTime of the underlying version.
    func (j xlMetaV2Version) getModTime() time.Time {
    	switch j.Type {
    	case ObjectType:
    		return time.Unix(0, j.ObjectV2.ModTime)
    	case DeleteType:
    		return time.Unix(0, j.DeleteMarker.ModTime)
    	case LegacyType:
    		return j.ObjectV1.Stat.ModTime
    	}
    	return time.Time{}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      public static <K, V> ImmutableSortedMap<K, V> of() {
        return (ImmutableSortedMap<K, V>) NATURAL_EMPTY_MAP;
      }
    
      /** Returns an immutable map containing a single entry. */
      public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V> of(K k1, V v1) {
        return of(Ordering.natural(), k1, v1);
      }
    
      /** Returns an immutable map containing a single entry. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top