Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 618 for Constant (0.34 sec)

  1. 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.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Charsets.java

       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#ISO_8859_1} instead.
       *
       */
      public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
    
      /**
       * UTF-8: eight-bit UCS Transformation Format.
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

    import org.jetbrains.kotlin.psi.KtElement
    import org.jetbrains.kotlin.resolve.constants.evaluate.CompileTimeType
    import org.jetbrains.kotlin.resolve.constants.evaluate.evalBinaryOp
    import org.jetbrains.kotlin.resolve.constants.evaluate.evalUnaryOp
    import org.jetbrains.kotlin.types.ConstantValueKind
    
    /**
     * An evaluator that transform numeric operation, such as div, into compile-time constant iff involved operands, such as explicit receiver
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompileTimeConstantProvider.kt

            val bindingContext = analysisContext.analyze(expression)
    
            val constant = ConstantExpressionEvaluator.getPossiblyErrorConstant(expression, bindingContext)
            if (mode == KtConstantEvaluationMode.CONSTANT_EXPRESSION_EVALUATION) {
                // TODO: how to _not_ evaluate expressions with a compilation error, e.g., uninitialized property access
                if (constant?.usesNonConstValAsConstant == true) return null
            }
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Mar 28 08:17:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	MOV	$1234, 0(SP)			// ERROR "constant load must target register"
    	MOV	$1234, 8(SP)			// ERROR "constant load must target register"
    	MOV	$0, 0(SP)			// ERROR "constant load must target register"
    	MOV	$0, 8(SP)			// ERROR "constant load must target register"
    	MOV	$1234, 0(SP)			// ERROR "constant load must target register"
    	MOV	$1234, 8(SP)			// ERROR "constant load must target register"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Apr 07 03:32:27 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. 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
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 26 11:56:44 GMT 2023
    - 5K bytes
    - Viewed (0)
  7. 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 11:56:44 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. 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
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  9. 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,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Charsets.java

       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#ISO_8859_1} instead.
       *
       */
      public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
    
      /**
       * UTF-8: eight-bit UCS Transformation Format.
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top