Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getConstants (0.19 sec)

  1. guava-tests/test/com/google/common/net/MediaTypeTest.java

      public void testParse_useConstants() throws Exception {
        for (MediaType constant : getConstants()) {
          assertSame(constant, MediaType.parse(constant.toString()));
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testCreate_useConstants() throws Exception {
        for (MediaType constant : getConstants()) {
          assertSame(
              constant,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

                    return element;
                }
            } else {
                targetClass = classMetaData;
            }
    
            String value = targetClass.getConstants().get(parts[1]);
            if (value == null) {
                listener.warning(String.format("Field '%s' does not have any value", fieldName));
                Element element = document.createElement("NO-VALUE-FOR_FIELD");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

                        .map(Expression::asLiteralStringValueExpr)
                        .map(LiteralStringValueExpr::getValue)
                        .orElse(null);
                    getCurrentClass().getConstants().put(constName, value);
                });
            }
        }
    
        private TypeMetaData extractTypeName(Type type) {
            TypeMetaData typeMetaData = new TypeMetaData();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

                property = new PropertyMetaData(name, this);
                declaredProperties.put(name, property);
            }
            return property;
        }
    
        public Map<String, String> getConstants() {
            return constants;
        }
    
        public void addEnumConstant(String name) {
            enumConstants.add(new EnumConstantMetaData(name, this));
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/asm.go

    			// Strange special case: MCR, MRC.
    			prog.To.Type = obj.TYPE_CONST
    			x0 := p.getConstant(prog, op, &a[0])
    			x1 := p.getConstant(prog, op, &a[1])
    			x2 := int64(p.getRegister(prog, op, &a[2]))
    			x3 := int64(p.getRegister(prog, op, &a[3]))
    			x4 := int64(p.getRegister(prog, op, &a[4]))
    			x5 := p.getConstant(prog, op, &a[5])
    			// Cond is handled specially for this instruction.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top