Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 8,770 for annotation1 (0.17 sec)

  1. pkg/config/analysis/analyzers/testdata/misannotated.yaml

          - name: fortio
    ---
    apiVersion: v1
    kind: Namespace
    metadata:
      name: staging
      annotations:
        # Annotation does not belong to Namespace
        kubernetes.io/ingress.class: "foo"
    spec: {}
    ---
    apiVersion: v1
    kind: Pod
    metadata:
      name: ignore-istio-annotations
      annotations:
        # annotations not set by user, should not warn
        istio.io/rev: rev
        ambient.istio.io/redirection: enabled
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 21:10:07 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

    import java.lang.annotation.ElementType
    
    internal fun mapAnnotationParameters(annotation: FirAnnotation): Map<Name, FirExpression> {
        if (annotation is FirAnnotationCall && annotation.arguments.isEmpty()) return emptyMap()
    
        checkWithAttachment(annotation.resolved, { "By now the annotations argument mapping should have been resolved" }) {
            withFirEntry("annotation", annotation)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. pkg/apis/flowcontrol/v1beta3/conversion_test.go

    			}
    			if want, got := copy.ObjectMeta.Annotations, test.in.ObjectMeta.Annotations; !cmp.Equal(want, got) {
    				t.Errorf("Did not expect the 'Annotations' field of the source to be mutated, diff: %s", cmp.Diff(want, got))
    			}
    		})
    	}
    }
    
    func TestConvert_flowcontrol_PriorityLevelConfiguration_To_v1beta3_PriorityLevelConfiguration(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/annotations/TestAnnotationRenderer.kt

            analysisSession: KaSession,
            annotations: KaAnnotationList,
            currentMetaAnnotations: Set<ClassId>?,
            indent: Int
        ) {
            appendLine("annotations: [".indented(indent))
            for (annotation in annotations) {
                appendLine(DebugSymbolRenderer().renderAnnotationApplication(analysisSession, annotation).indented(indent = indent + 2))
                if (currentMetaAnnotations != null) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Parameter.java

      @Override
      public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {
        return getAnnotation(annotationType) != null;
      }
    
      @Override
      @CheckForNull
      public <A extends Annotation> A getAnnotation(Class<A> annotationType) {
        checkNotNull(annotationType);
        for (Annotation annotation : annotations) {
          if (annotationType.isInstance(annotation)) {
            return annotationType.cast(annotation);
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 16 15:12:31 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

        }
    
        private ImmutableMap<Class<? extends Annotation>, Annotation> collectRelevantAnnotations(AnnotatedElement element) {
            Annotation[] annotations = element.getDeclaredAnnotations();
            if (annotations.length == 0) {
                return ImmutableMap.of();
            }
            ImmutableMap.Builder<Class<? extends Annotation>, Annotation> relevantAnnotations = ImmutableMap.builderWithExpectedSize(annotations.length);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/annotations/TestAnnotationHandlingSupport.groovy

    import java.lang.annotation.Annotation
    import java.lang.annotation.ElementType
    import java.lang.annotation.Retention
    import java.lang.annotation.RetentionPolicy
    import java.lang.annotation.Target
    import java.lang.reflect.Method
    
    import static org.gradle.internal.properties.annotations.PropertyAnnotationHandler.Kind.INPUT
    import static org.gradle.internal.reflect.annotations.AnnotationCategory.TYPE
    
    trait TestAnnotationHandlingSupport {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/files/injection-template.yaml

    {{- define "resources"  }}
      {{- if or (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPU`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemory`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPULimit`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemoryLimit`) }}
        {{- if or (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPU`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemory`) }}
          requests:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 21:01:52 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. istioctl/pkg/injector/injector-list_test.go

    	}{
    		{
    			name: "Injection disabled by annotation",
    			pod: &corev1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Annotations: map[string]string{
    						annotation.SidecarInject.Name: "false",
    					},
    				},
    			},
    			expected: true,
    		},
    		{
    			name: "Injection enabled by annotation",
    			pod: &corev1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Annotations: map[string]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 04:33:57 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/PropertyAccessorExtractionContext.java

            this.annotations = collectAnnotations(declaringMethods);
        }
    
        private Map<Class<? extends Annotation>, Annotation> collectAnnotations(Iterable<Method> methods) {
            Map<Class<? extends Annotation>, Annotation> annotations = new LinkedHashMap<>();
            for (Method method : methods) {
                for (Annotation annotation : method.getDeclaredAnnotations()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top