Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 477 for SNAPSHOT (0.04 seconds)

  1. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

        synchronized (lock) {
          list.clear();
        }
      }
    
      /** Returns a snapshot of the logged records. */
      /*
       * TODO(cpovirk): consider higher-level APIs here (say, assertNoRecordsLogged(),
       * getOnlyRecordLogged(), getAndClearLogRecords()...)
       *
       * TODO(cpovirk): consider renaming this method to reflect that it takes a snapshot (and/or return
       * an ImmutableList)
       */
      public List<LogRecord> getStoredLogRecords() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  2. tests/test_regex_deprecated_body.py

    from typing import Annotated
    
    import pytest
    from fastapi import FastAPI, Form
    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from .utils import needs_py310
    
    
    def get_client():
        app = FastAPI()
        with pytest.warns(FastAPIDeprecationWarning):
    
            @app.post("/items/")
            async def read_items(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 14:34:02 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/AbstractCache.java

         * Cache#invalidate invalidations}.
         */
        void recordEviction();
    
        /**
         * Returns a snapshot of this counter's values. Note that this may be an inconsistent view, as
         * it may be interleaved with update operations.
         */
        CacheStats snapshot();
      }
    
      /**
       * A thread-safe {@link StatsCounter} implementation for use by {@link Cache} implementors.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/Stats.java

        accumulator.addAll(values);
        return accumulator.snapshot();
      }
    
      /**
       * Returns statistics over a dataset containing the given values.
       *
       * @param values a series of values
       */
      public static Stats of(double... values) {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(values);
        return accumulator.snapshot();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 25.1K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            systemProperties.setProperty(Constants.MAVEN_VERSION, mavenVersion);
    
            boolean snapshot = mavenVersion.endsWith("SNAPSHOT");
            if (snapshot) {
                mavenVersion = mavenVersion.substring(0, mavenVersion.length() - "SNAPSHOT".length());
                if (mavenVersion.endsWith("-")) {
                    mavenVersion = mavenVersion.substring(0, mavenVersion.length() - 1);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

        os: Os? = null,
    ) {
        if (os == null || stageWithOsTriggers.getOrDefault(prevStage.stageName, emptyList()).contains(os)) {
            dependency(RelativeId(stageTriggerId(model, prevStage, os))) {
                snapshot {
                    onDependencyFailure = FailureAction.FAIL_TO_START
                    onDependencyCancel = FailureAction.FAIL_TO_START
                }
            }
        }
    }
    
    fun stageTriggerId(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Feb 06 13:13:53 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    if (matcher.matches()) {
                        Snapshot snapshot = new Snapshot();
                        snapshot.setTimestamp(matcher.group(2));
                        try {
                            snapshot.setBuildNumber(Integer.parseInt(matcher.group(3)));
                            artifact.addMetadata(new SnapshotArtifactRepositoryMetadata(artifact, snapshot));
                        } catch (NumberFormatException e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  8. tests/test_starlette_exception.py

    from fastapi import FastAPI, HTTPException
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from starlette.exceptions import HTTPException as StarletteHTTPException
    
    app = FastAPI()
    
    items = {"foo": "The Foo Wrestlers"}
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: str):
        if item_id not in items:
            raise HTTPException(
                status_code=404,
                detail="Item not found",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  9. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

    from typing import Annotated
    
    from fastapi import APIRouter, Depends, FastAPI, Security
    from fastapi.security import OAuth2AuthorizationCodeBearer
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="authorize",
        tokenUrl="token",
        auto_error=True,
        scopes={"read": "Read access", "write": "Write access"},
    )
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt

            triggerName = "ReadyforNightly",
        ) {
        init {
            id(NIGHTLY_SNAPSHOT_BUILD_ID)
            name = "Nightly Snapshot"
            description =
                "Promotes the latest successful changes on '${branch.branchName}' from Ready for Nightly as a new nightly snapshot"
    
            triggers {
                val triggerHour = branch.determineNightlyPromotionTriggerHour() ?: return@triggers
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top