- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,020 for constant (0.05 seconds)
-
android/guava/src/com/google/common/base/Enums.java
Class<T> enumClass) { synchronized (enumConstantCache) { Map<String, WeakReference<? extends Enum<?>>> constants = enumConstantCache.get(enumClass); if (constants == null) { constants = populateCache(enumClass); } return constants; } } /** * Returns a serializable converter that converts between strings and {@code enum} values of type
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/TestingWeighers.java
} static final class ConstantWeigher implements Weigher<Object, Object> { private final int constant; ConstantWeigher(int constant) { this.constant = constant; } @Override public int weigh(Object key, Object value) { return constant; } } static final class IntKeyWeigher implements Weigher<Integer, Object> { @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
return count.get(); } } static final class ConstantLoader<K, V> extends CacheLoader<K, V> { private final V constant; ConstantLoader(V constant) { this.constant = constant; } @Override public V load(K key) { return constant; } } /** * Returns a {@code new Object()} for every request, and increments a counter for every request.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 5.1K bytes - Click Count (0) -
doc/go_spec.html
literal. </p> <h2 id="Constants">Constants</h2> <p>There are <i>boolean constants</i>, <i>rune constants</i>, <i>integer constants</i>, <i>floating-point constants</i>, <i>complex constants</i>, and <i>string constants</i>. Rune, integer, floating-point, and complex constants are collectively called <i>numeric constants</i>. </p> <p> A constant value is represented by a
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1) -
src/cmd/asm/internal/lex/lex.go
return "EOF" case scanner.Ident: return "identifier" case scanner.Int: return "integer constant" case scanner.Float: return "float constant" case scanner.Char: return "rune constant" case scanner.String: return "string constant" case scanner.RawString: return "raw string constant" case scanner.Comment: return "comment" default: return fmt.Sprintf("%q", rune(t)) } }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 4.1K bytes - Click Count (0) -
src/cmd/asm/internal/arch/arm.go
} // IsARMCMP reports whether the op (as defined by an arm.A* constant) is // one of the comparison instructions that require special handling. func IsARMCMP(op obj.As) bool { switch op { case arm.ACMN, arm.ACMP, arm.ATEQ, arm.ATST: return true } return false } // IsARMSTREX reports whether the op (as defined by an arm.A* constant) is // one of the STREX-like instructions that require special handling.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Oct 23 15:18:14 GMT 2024 - 6.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
assertEquals("correct", f.apply(new Object())); assertEquals("correct", f.apply(null)); Function<@Nullable Object, @Nullable String> g = Functions.constant(null); assertEquals(null, g.apply(2)); assertEquals(null, g.apply(null)); new EqualsTester() .addEqualityGroup(f, Functions.constant("correct"))
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 16K bytes - Click Count (0) -
api/go1.5.txt
pkg go/constant, const Bool = 1 pkg go/constant, const Bool Kind pkg go/constant, const Complex = 5 pkg go/constant, const Complex Kind pkg go/constant, const Float = 4 pkg go/constant, const Float Kind pkg go/constant, const Int = 3 pkg go/constant, const Int Kind pkg go/constant, const String = 2 pkg go/constant, const String Kind pkg go/constant, const Unknown = 0
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java
long[] xLongs; long[] yLongs; int[] constant; private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL; @BeforeExperiment void setUp() { Random random = new Random(randomSeed); xInts = new int[SAMPLE_SIZE]; yInts = new int[SAMPLE_SIZE]; xLongs = new long[SAMPLE_SIZE]; yLongs = new long[SAMPLE_SIZE]; constant = new int[SAMPLE_SIZE];
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.1K bytes - Click Count (0) -
src/cmd/asm/internal/asm/asm.go
case 3: if p.arch.Family == sys.PPC64 { // Special 3-operand jumps. // a[1] is a register number expressed as a constant or register value target = &a[2] prog.From = a[0] if a[0].Type != obj.TYPE_CONST { // Legacy code may use a plain constant, accept it, and coerce // into a constant. E.g: // BC 4,... // into // BC $4,... prog.From = obj.Addr{ Type: obj.TYPE_CONST,Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 21 15:13:08 GMT 2025 - 26.7K bytes - Click Count (0)