Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 93 for BarTest (0.1 sec)

  1. guava/src/com/google/common/math/LongMath.java

          throw new ArithmeticException("ceilingPowerOfTwo(" + x + ") is not representable as a long");
        }
        return 1L << -Long.numberOfLeadingZeros(x - 1);
      }
    
      /**
       * Returns the largest power of two less than or equal to {@code x}. This is equivalent to {@code
       * checkedPow(2, log2(x, FLOOR))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @since 20.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  2. src/sort/gen_sort_variants.go

    	first := a
    	lo := 0
    	hi := b - a
    
    	// Build heap with greatest element at top.
    	for i := (hi - 1) / 2; i >= 0; i-- {
    		siftDown{{.FuncSuffix}}(data, i, hi, first {{.ExtraArg}})
    	}
    
    	// Pop elements, largest first, into end of data.
    	for i := hi - 1; i >= 0; i-- {
    		{{Swap "data" "first" "first+i"}}
    		siftDown{{.FuncSuffix}}(data, lo, i, first {{.ExtraArg}})
    	}
    }
    
    // pdqsort{{.FuncSuffix}} sorts data[a:b].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  3. src/time/zoneinfo.go

    		offset = zone.offset
    		start = alpha
    		if len(l.tx) > 0 {
    			end = l.tx[0].when
    		} else {
    			end = omega
    		}
    		isDST = zone.isDST
    		return
    	}
    
    	// Binary search for entry with largest time <= sec.
    	// Not using sort.Search to avoid dependencies.
    	tx := l.tx
    	end = omega
    	lo := 0
    	hi := len(tx)
    	for hi-lo > 1 {
    		m := int(uint(lo+hi) >> 1)
    		lim := tx[m].when
    		if sec < lim {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/predicates.go

    		case UntypedFloat:
    			return Typ[Float64]
    		case UntypedComplex:
    			return Typ[Complex128]
    		case UntypedString:
    			return Typ[String]
    		}
    	}
    	return t
    }
    
    // maxType returns the "largest" type that encompasses both x and y.
    // If x and y are different untyped numeric types, the result is the type of x or y
    // that appears later in this list: integer, rune, floating-point, complex.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. src/go/types/predicates.go

    		case UntypedFloat:
    			return Typ[Float64]
    		case UntypedComplex:
    			return Typ[Complex128]
    		case UntypedString:
    			return Typ[String]
    		}
    	}
    	return t
    }
    
    // maxType returns the "largest" type that encompasses both x and y.
    // If x and y are different untyped numeric types, the result is the type of x or y
    // that appears later in this list: integer, rune, floating-point, complex.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ir/func.go

    	// function literal numbering (e.g., runtime/trace_test.TestTraceSymbolize.func11).
    	funcLitGen  int32
    	rangeLitGen int32
    	goDeferGen  int32
    
    	Label int32 // largest auto-generated label in this function
    
    	Endlineno src.XPos
    	WBPos     src.XPos // position of first write barrier; see SetWBPos
    
    	Pragma PragmaFlag // go:xxx function annotations
    
    	flags bitset16
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Shorts.java

       *
       * <p><b>Java 8+ users:</b> use {@link Short#BYTES} instead.
       */
      public static final int BYTES = Short.SIZE / Byte.SIZE;
    
      /**
       * The largest power of two that can be represented as a {@code short}.
       *
       * @since 10.0
       */
      public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2);
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Shorts.java

       *
       * <p><b>Java 8+ users:</b> use {@link Short#BYTES} instead.
       */
      public static final int BYTES = Short.SIZE / Byte.SIZE;
    
      /**
       * The largest power of two that can be represented as a {@code short}.
       *
       * @since 10.0
       */
      public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2);
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/storage/v1/types_swagger_doc_generated.go

    	"maximumVolumeSize": "maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 07:07:45 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/assign.go

    		return false
    	}
    
    	mk := call.Args[1].(*ir.MakeExpr)
    	if mk.Cap != nil {
    		return false
    	}
    
    	// y must be either an integer constant or the largest possible positive value
    	// of variable y needs to fit into a uint.
    
    	// typecheck made sure that constant arguments to make are not negative and fit into an int.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top