Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 582 for observ (0.22 sec)

  1. pkg/proxy/metaproxier/meta_proxier.go

    }
    
    // OnServiceAdd is called whenever creation of new service object is observed.
    func (proxier *metaProxier) OnServiceAdd(service *v1.Service) {
    	proxier.ipv4Proxier.OnServiceAdd(service)
    	proxier.ipv6Proxier.OnServiceAdd(service)
    }
    
    // OnServiceUpdate is called whenever modification of an existing
    // service object is observed.
    func (proxier *metaProxier) OnServiceUpdate(oldService, service *v1.Service) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 21 14:28:37 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. test/fixedbugs/issue19182.go

    	i, val := 0, atomic.LoadUint64(&a)
    	for ; val == 0 && i < 100; val, i = atomic.LoadUint64(&a), i+1 {
    		time.Sleep(100 * time.Millisecond)
    	}
    	if val == 0 {
    		fmt.Printf("Failed to observe atomic increment after %d tries\n", i)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 737 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors_test.go

    		{"InternalError", "/<script>", "Internal Server Error: \"/&lt;script&gt;\": ARGH\n"},
    	}
    	for _, test := range cases {
    		observer := httptest.NewRecorder()
    		fns[test.fn](observer, &http.Request{RequestURI: test.uri})
    		result := observer.Body.String()
    		if result != test.expected {
    			t.Errorf("%s(..., %q) != %q, got %q", test.fn, test.uri, test.expected, result)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 29 07:45:20 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics.go

    		resultLabel = noOpinionLabel
    	}
    
    	authorizationAttemptsCounter.WithContext(ctx).WithLabelValues(resultLabel).Inc()
    	authorizationLatency.WithContext(ctx).WithLabelValues(resultLabel).Observe(authFinish.Sub(authStart).Seconds())
    }
    
    func recordAuthenticationMetrics(ctx context.Context, resp *authenticator.Response, ok bool, err error, apiAudiences authenticator.Audiences, authStart time.Time, authFinish time.Time) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/projectresult/ResolvedLocalComponentsResultGraphVisitor.java

     * so that we instantly mark configurations as observed as their metadata is constructed. That would be an improvement
     * over this visitor, since here we only mark a configuration observed if its metadata is present in the final graph.
     * There are likely scenarios that this visitor does not cover, where a configuration's metadata is observed but
     * its component is not present in the final graph.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/artifacts/dsl/DependencyCollectorIntegrationTest.groovy

     */
    class DependencyCollectorIntegrationTest extends AbstractIntegrationSpec {
        def "cannot add dependencies after dependency set has been observed"() {
            given:
            buildFile << """
                ${createDependenciesAndConfiguration()}
    
                dependencies.implementation 'com:foo:1.0'
    
                assert conf.dependencies*.name == ["foo"]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 00:10:09 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/metrics/metrics.go

    	})
    }
    
    func RecordRequestBodySize(ctx context.Context, resource string, verb RequestBodyVerb, size int) {
    	RequestBodySizes.WithContext(ctx).WithLabelValues(resource, string(verb)).Observe(float64(size))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 02:06:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/value/metrics.go

    	transformerOperationsTotal.WithLabelValues(transformationType, transformerPrefix, getErrorCode(err)).Inc()
    
    	if err == nil {
    		transformerLatencies.WithLabelValues(transformationType, transformerPrefix).Observe(elapsed.Seconds())
    	}
    }
    
    // RecordCacheMiss records a miss on Key Encryption Key(KEK) - call to KMS was required to decrypt KEK.
    func RecordCacheMiss() {
    	envelopeTransformationCacheMissTotal.Inc()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 22:44:02 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

        }
    
        /**
         * Checks if `expected` and `observed` are equal when viewed as a set and headers are
         * deduped.
         *
         * TODO: See if duped headers should be preserved on decode and verify.
         */
        private fun assertSetEquals(
          message: String,
          expected: List<Header>,
          observed: List<Header>,
        ) {
          assertThat(LinkedHashSet(observed), message)
            .isEqualTo(LinkedHashSet(expected))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics/metrics.go

    		}
    		dekCacheInterArrivals.WithLabelValues(transformationType).Observe(start.Sub(lastFromStorage).Seconds())
    		lastFromStorage = start
    	case ToStorageLabel:
    		lockLastToStorage.Lock()
    		defer lockLastToStorage.Unlock()
    
    		if lastToStorage.IsZero() {
    			lastToStorage = start
    		}
    		dekCacheInterArrivals.WithLabelValues(transformationType).Observe(start.Sub(lastToStorage).Seconds())
    		lastToStorage = start
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 09 22:31:32 UTC 2023
    - 12K bytes
    - Viewed (0)
Back to top