Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 4,452 for Lint (0.02 seconds)

  1. utils/utils_test.go

    	tests := []struct {
    		name     string
    		input    []int
    		trimLen  int
    		expected []int
    	}{
    		{
    			name:     "Trim two elements from end",
    			input:    []int{1, 2, 3, 4, 5},
    			trimLen:  2,
    			expected: []int{1, 2, 3},
    		},
    		{
    			name:     "Trim entire slice",
    			input:    []int{1, 2, 3},
    			trimLen:  3,
    			expected: []int{},
    		},
    		{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:31:30 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java

     * that exhibits the problem.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class DefaultSettingsProblem implements SettingsProblem {
    
        private final String source;
    
        private final int lineNumber;
    
        private final int columnNumber;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

     * hint for further adapters to process.
     *
     * Types like ANY and CHOICE that don't have a consistent tag cannot use this.
     */
    internal data class BasicDerAdapter<T>(
      private val name: String,
      /** The tag class this adapter expects, or -1 to match any tag class. */
      val tagClass: Int,
      /** The tag this adapter expects, or -1 to match any tag. */
      val tag: Long,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/DoubleMath.java

            }
    
          case HALF_EVEN:
            return rint(x);
    
          case HALF_UP:
            {
              double z = rint(x);
              if (abs(x - z) == 0.5) {
                return x + copySign(0.5, x);
              } else {
                return z;
              }
            }
    
          case HALF_DOWN:
            {
              double z = rint(x);
              if (abs(x - z) == 0.5) {
                return x;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. utils/utils.go

    	switch v := value.(type) {
    	case string:
    		return v
    	case int:
    		return strconv.FormatInt(int64(v), 10)
    	case int8:
    		return strconv.FormatInt(int64(v), 10)
    	case int16:
    		return strconv.FormatInt(int64(v), 10)
    	case int32:
    		return strconv.FormatInt(int64(v), 10)
    	case int64:
    		return strconv.FormatInt(v, 10)
    	case uint:
    		return strconv.FormatUint(uint64(v), 10)
    	case uint8:
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/MathTesting.java

        // Add small multiples of MIN_VALUE and MIN_NORMAL
        for (int scale = 1; scale <= 4; scale++) {
          for (double d : Doubles.asList(Double.MIN_VALUE, Double.MIN_NORMAL)) {
            fractionalBuilder.add(d * scale).add(-d * scale);
          }
        }
        for (int i = Double.MIN_EXPONENT; i <= Double.MAX_EXPONENT; i++) {
          for (int direction : new int[] {1, -1}) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  7. cmd/erasure-metadata_test.go

    		ps := make([]int, N)
    		for i := range N {
    			if i < agree {
    				ps[i] = agreedParity
    				continue
    			}
    			ps[i] = disagreedParity // disagree
    		}
    		return ps
    	}
    
    	mkTest := func(N, parity, agree int) (res struct {
    		metaArr  []FileInfo
    		errs     []error
    		parities []int
    		parity   int
    	},
    	) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  8. clause/expression.go

    type Eq struct {
    	Column interface{}
    	Value  interface{}
    }
    
    func (eq Eq) Build(builder Builder) {
    	builder.WriteQuoted(eq.Column)
    
    	switch eq.Value.(type) {
    	case []string, []int, []int32, []int64, []uint, []uint32, []uint64, []interface{}:
    		rv := reflect.ValueOf(eq.Value)
    		if rv.Len() == 0 {
    			builder.WriteString(" IN (NULL)")
    		} else {
    			builder.WriteString(" IN (")
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Nov 04 07:04:52 GMT 2025
    - 8K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

          E e) /*-{
        return ******@****.***::getDeclaringClass()();
      }-*/;
    
      static int reduceIterationsIfGwt(int iterations) {
        return iterations / 10;
      }
    
      static int reduceExponentIfGwt(int exponent) {
        return exponent / 2;
      }
    
      private Platform() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Platform.java

      }
    
      static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) {
        return e.getDeclaringClass();
      }
    
      static int reduceIterationsIfGwt(int iterations) {
        return iterations;
      }
    
      static int reduceExponentIfGwt(int exponent) {
        return exponent;
      }
    
      private Platform() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 4.5K bytes
    - Click Count (0)
Back to Top