Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for AnnotationValue (0.15 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationValue.kt

    public class KaAnnotationApplicationValue @KaAnalysisApiInternals constructor(
        annotationValue: KaAnnotation,
        token: KaLifetimeToken
    ) : KaAnnotationValue(token) {
        public val annotationValue: KaAnnotation = annotationValue
            get() = withValidityAssertion { field }
    
        override val sourcePsi: KtElement?
            get() = withValidityAssertion { annotationValue.psi }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/validation/ValidationProblemPropertyAnnotationHandler.java

                    .documentedAt(Documentation.userManual("id", "section"))
                    .severity(annotationValue(propertyMetadata))
                    .details("this is a test")
            );
        }
    
        private Severity annotationValue(PropertyMetadata propertyMetadata) {
            return propertyMetadata.getAnnotationForCategory(AnnotationCategory.TYPE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/SimpleAnnotationValue.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.normalization.java.impl;
    
    public class SimpleAnnotationValue extends AnnotationValue<Object> {
    
        public SimpleAnnotationValue(String name, Object value) {
            super(name, value);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 839 bytes
    - Viewed (0)
  4. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/AnnotationAnnotationValue.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.normalization.java.impl;
    
    public class AnnotationAnnotationValue extends AnnotationValue<AnnotationMember> {
    
        public AnnotationAnnotationValue(String name, AnnotationMember value) {
            super(name, value);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 867 bytes
    - Viewed (0)
  5. pkg/controller/ttl/ttl_controller.go

    	if node.Annotations == nil {
    		return 0, false
    	}
    	annotationValue, ok := node.Annotations[annotationKey]
    	if !ok {
    		return 0, false
    	}
    	intValue, err := strconv.Atoi(annotationValue)
    	if err != nil {
    		logger := klog.FromContext(ctx)
    		logger.Info("Could not convert the value with annotation key for the node", "annotationValue",
    			annotationValue, "annotationKey", annotationKey, "node", klog.KObj(node))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/KtInitializerValue.kt

     * Initializer of property of annotation, which can not be which cannot be represented as Kotlin const value,
     *   but can be represented as [KaAnnotationValue]
     */
    public class KaConstantValueForAnnotation(
        public val annotationValue: KaAnnotationValue,
        override val initializerPsi: KtExpression?
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/audit/context_test.go

    			assert.Equal(t, test.expectEnabled, test.ctx.Enabled())
    		})
    	}
    }
    
    func TestAddAuditAnnotation(t *testing.T) {
    	const (
    		annotationKeyTemplate = "test-annotation-%d"
    		annotationValue       = "test-annotation-value"
    		annotationExtraValue  = "test-existing-annotation"
    		numAnnotations        = 10
    	)
    
    	expectAnnotations := func(t *testing.T, annotations map[string]string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/util/cdi/cdi.go

    		return "", fmt.Errorf("invalid name %q, last '%c' should be alphanumeric", name, c)
    	}
    
    	return annotationPrefix + name, nil
    }
    
    // annotationValue returns an annotation value for the given devices.
    func annotationValue(devices []string) (string, error) {
    	value, sep := "", ""
    	for _, d := range devices {
    		if _, _, _, err := parseQualifiedName(d); err != nil {
    			return "", err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 09:48:24 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationValueRenderer.kt

            append(value.callableId?.asSingleFqName()?.asString())
        }
    
        private fun StringBuilder.renderAnnotationConstantValue(application: KaAnnotationApplicationValue) {
            renderAnnotationApplication(application.annotationValue)
        }
    
        private fun StringBuilder.renderAnnotationApplication(value: KaAnnotation) {
            append(value.classId)
            if (value.arguments.isNotEmpty()) {
                append("(")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate_test.go

    			b := NewBackend(fb, defaultConfig, auditv1.SchemeGroupVersion)
    			b.ProcessEvents(tc.event)
    
    			require.Equal(t, !tc.wantDropped, event != nil, "Incorrect event presence")
    			if tc.wantTruncated {
    				require.Equal(t, annotationValue, event.Annotations[annotationKey], "Annotation should be present")
    				require.Nil(t, event.RequestObject, "After truncation request should be nil")
    				require.Nil(t, event.ResponseObject, "After truncation response should be nil")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 30 07:56:39 UTC 2018
    - 3.7K bytes
    - Viewed (0)
Back to top