Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 297 for rounds (0.15 sec)

  1. maven-di/src/main/java/org/apache/maven/di/impl/Types.java

            }
        }
    
        /**
         * Creates an instance of {@link WildcardType} bound by upper and lower bounds
         *
         * @param upperBounds a wildcard upper bound types
         * @param lowerBounds a wildcard lower bound types
         * @return an instance of {@link WildcardType}
         */
        public static WildcardType wildcardType(Type[] upperBounds, Type[] lowerBounds) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

    }
    
    
    private
    fun apiTypeKey(usage: ApiTypeUsage): List<Any> = usage.run {
        listOf(sourceName, isNullable, isRaw, variance) +
            typeArguments.flatMap(::apiTypeKey) +
            bounds.flatMap(::apiTypeKey)
    }
    
    
    // TODO Policy for extensions with reified generics
    //
    // Goals
    // - make the dsl predictable
    // - prevent ambiguous overload situations
    //
    // Rules
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 21:41:53 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypesTest.java

      }
    
      private static <D extends GenericDeclaration> TypeVariable<D> withBounds(
          TypeVariable<D> typeVariable, Type... bounds) {
        return Types.newArtificialTypeVariable(
            typeVariable.getGenericDeclaration(), typeVariable.getName(), bounds);
      }
    
      private static class TypeVariableEqualsTester {
        private final EqualsTester tester = new EqualsTester();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypesTest.java

      }
    
      private static <D extends GenericDeclaration> TypeVariable<D> withBounds(
          TypeVariable<D> typeVariable, Type... bounds) {
        return Types.newArtificialTypeVariable(
            typeVariable.getGenericDeclaration(), typeVariable.getName(), bounds);
      }
    
      private static class TypeVariableEqualsTester {
        private final EqualsTester tester = new EqualsTester();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. src/runtime/map_fast64.go

    		insertb = h.newoverflow(t, b)
    		inserti = 0 // not necessary, but avoids needlessly spilling inserti
    	}
    	insertb.tophash[inserti&(abi.MapBucketCount-1)] = tophash(hash) // mask inserti to avoid bounds checks
    
    	insertk = add(unsafe.Pointer(insertb), dataOffset+inserti*8)
    	// store new key at insert position
    	*(*uint64)(insertk) = key
    
    	h.count++
    
    done:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. test/prove.go

    	// j the middle value ID, and i2 the highest value ID.
    	// That used to confuse CSE because it ordered the args
    	// of the two + ops below differently.
    	// That in turn foiled bounds check elimination.
    	i1 := *p
    	j := *q
    	i2 := *p
    	useInt(a[i1+j])
    	useInt(a[i2+j]) // ERROR "Proved IsInBounds$"
    }
    
    func f15(s []int, x int) {
    	useSlice(s[x:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. pkg/controller/podgc/gc_controller.go

    				// ignore not founds
    				defer utilruntime.HandleError(err)
    				metrics.DeletingPodsErrorTotal.WithLabelValues(pod.Namespace, metrics.PodGCReasonTerminated).Inc()
    			}
    			metrics.DeletingPodsTotal.WithLabelValues(pod.Namespace, metrics.PodGCReasonTerminated).Inc()
    		}(terminatedPods[i])
    	}
    	wait.Wait()
    }
    
    // gcOrphaned deletes pods that are bound to nodes that don't exist.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Range.java

        }
    
        for (C value : values) {
          if (!contains(value)) {
            return false;
          }
        }
        return true;
      }
    
      /**
       * Returns {@code true} if the bounds of {@code other} do not extend outside the bounds of this
       * range. Examples:
       *
       * <ul>
       *   <li>{@code [3..6]} encloses {@code [4..5]}
       *   <li>{@code (3..6)} encloses {@code (3..6)}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. src/go/token/position_test.go

    		t.Errorf("offset = %d, want %d", got, fsize)
    	}
    
    	// out-of-bounds offsets must not lead to a panic when calling f.Pos
    	if got := f.Pos(-1); got != Pos(base) {
    		t.Errorf("pos = %d, want %d", got, base)
    	}
    	if got := f.Pos(fsize + 1); got != Pos(base+fsize) {
    		t.Errorf("pos = %d, want %d", got, base+fsize)
    	}
    
    	// out-of-bounds Pos values must not lead to a panic when calling f.Position
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/index.go

    	}
    
    	if x.val.Kind() == constant.Unknown {
    		return
    	}
    
    	v, ok := constant.Int64Val(x.val)
    	assert(ok)
    	if max >= 0 && v >= max {
    		check.errorf(&x, InvalidIndex, invalidArg+"index %s out of bounds [0:%d]", x.val.String(), max)
    		return
    	}
    
    	// 0 <= v [ && v < max ]
    	return x.typ, v
    }
    
    // isValidIndex checks whether operand x satisfies the criteria for integer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top