Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 361 for asSnapshot (0.22 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Checks whether a given artifact version is considered a {@code SNAPSHOT} or not.
         * <p>
         * Shortcut for {@code getService(ArtifactManager.class).isSnapshot(...)}.
         * <p>
         * In case there is {@link Artifact} in scope, the recommended way to perform this check is
         * use of {@link Artifact#isSnapshot()} instead.
         *
         * @param version artifact version
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. pkg/registry/core/service/ipallocator/controller/repair.go

    	}
    
    	// ensure that ranges are assigned
    	for family, snapshot := range snapshotByFamily {
    		if snapshot.Range == "" {
    			snapshot.Range = c.networkByFamily[family].String()
    		}
    	}
    
    	// Create an allocator because it is easy to use.
    	for family, snapshot := range snapshotByFamily {
    		stored, err := ipallocator.NewFromSnapshot(snapshot)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. pkg/registry/core/persistentvolumeclaim/strategy_test.go

    						t.Errorf("new pvc changed: %v", cmp.Diff(newPvc, newPvcInfo.pvc()))
    					}
    				}
    			})
    		}
    	}
    
    }
    
    var (
    	coreGroup    = ""
    	snapGroup    = "snapshot.storage.k8s.io"
    	genericGroup = "generic.storage.k8s.io"
    	pvcKind      = "PersistentVolumeClaim"
    	snapKind     = "VolumeSnapshot"
    	genericKind  = "Generic"
    	podKind      = "Pod"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionIntegrationTest.groovy

            run 'clean', 'build'
    
            then: //smoke test the build artifacts
            targetDir.file("webinar-api/build/libs/webinar-api-1.0-SNAPSHOT.jar").exists()
            targetDir.file("webinar-impl/build/libs/webinar-impl-1.0-SNAPSHOT.jar").exists()
            targetDir.file("webinar-war/build/libs/webinar-war-1.0-SNAPSHOT.war").exists()
        }
    
        def "multiModule"() {
            def dsl = dslFixtureFor(scriptDsl)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 15:23:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseJavaClassChangeIncrementalCompilationIntegrationTest.groovy

                @Retention(RetentionPolicy.$retention)
                public @interface SomeAnnotation {}
            """
            source "@SomeAnnotation class A {}", "class B {}"
            outputs.snapshot { run language.compileTaskName }
    
            when:
            annotationClass.text += "/* change */"
            run language.compileTaskName
    
            then:
            outputs.recompiledClasses(expected as String[])
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Cache.kt

        val key = key(request.url)
        val snapshot: DiskLruCache.Snapshot =
          try {
            cache[key] ?: return null
          } catch (_: IOException) {
            return null // Give up because the cache cannot be read.
          }
    
        val entry: Entry =
          try {
            Entry(snapshot.getSource(ENTRY_METADATA))
          } catch (_: IOException) {
            snapshot.closeQuietly()
            return null
          }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * exceptions.
       *
       * **The caller must [close][Snapshot.close]** each snapshot returned by [Iterator.next]. Failing
       * to do so leaks open files!
       */
      @Synchronized
      @Throws(IOException::class)
      fun snapshots(): MutableIterator<Snapshot> {
        initialize()
        return object : MutableIterator<Snapshot> {
          /** Iterate a copy of the entries to defend against concurrent modification errors. */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/OutputEventRenderer.java

        }
    
        @Override
        public Snapshot snapshot() {
            synchronized (lock) {
                // Currently only snapshot the console output listener. Should snapshot all output listeners, and cleanup in restore()
                return new SnapshotImpl(logLevel.get(), console);
            }
        }
    
        @Override
        public void restore(Snapshot state) {
            synchronized (lock) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 19:25:32 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. pkg/registry/core/service/portallocator/controller/repair.go

    		}
    	})
    
    	// Blast the rebuilt state into storage.
    	if err := rebuilt.Snapshot(snapshot); err != nil {
    		return fmt.Errorf("unable to snapshot the updated port allocations: %v", err)
    	}
    
    	if err := c.alloc.CreateOrUpdate(snapshot); err != nil {
    		if errors.IsConflict(err) {
    			return err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/GroovyJavaJointIncrementalCompilationIntegrationTest.groovy

            run "compileGroovy"
    
            when:
            outputs.snapshot { applyGroovyFileSet(firstChange) }
            run "compileGroovy", "--info"
    
            then: 'first build'
            upToDateOrMessage(firstBuildMessage)
            outputs.recompiledClasses(firstCompiledClasses as String[])
    
            when: 'second build'
            outputs.snapshot { applyGroovyFileSet(secondChange) }
            run "compileGroovy", "--info"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top