Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for Restore (0.65 sec)

  1. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/UnitCodecTest.kt

    import org.junit.Test
    import spock.lang.Issue
    
    
    class UnitCodecTest : AbstractUserTypeCodecTest() {
    
        @Test
        @Issue("https://github.com/gradle/gradle/issues/25560")
        fun `same Unit instance is used upon restore`() {
            configurationCacheRoundtripOf(Unit).run {
                assertThat(this, sameInstance(Unit))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/builder/iptables_builder_test.go

    			var actual strings.Builder
    			for _, rule := range rules {
    				fmt.Fprintln(&actual, strings.Join(rule, " "))
    			}
    			compareToGolden(t, goldenName, actual.String())
    
    			// Check build restore
    			compareToGolden(t, goldenName+"-restore", rulesRestore)
    		} else {
    			if len(rules) > 0 {
    				t.Errorf("Unexpected rules to be empty but instead got %#v", rules)
    			}
    			if rulesRestore != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InputTrackingState.kt

            ++inputTrackingDisabledCounterForThread
        }
    
        /**
         * Restores the input tracking state to the state it was in before the last call to
         * [disableForCurrentThread].
         */
        fun restoreForCurrentThread() {
            Preconditions.checkState(inputTrackingDisabledCounterForThread > 0, "Restore input tracking state without prior disable is detected")
            --inputTrackingDisabledCounterForThread
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/build.gradle.kts

        api(projects.serviceProvider)
        api(project(":snapshots"))
    
        api(libs.groovy)
        api(libs.inject)
        api(libs.kotlinStdlib)
    
        // TODO - it might be good to allow projects to contribute state to save and restore, rather than have this project know about everything
        implementation(projects.beanSerializationServices)
        implementation(projects.buildEvents)
        implementation(projects.buildOperations)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/init/certs.go

    				return nil
    			}
    			fmt.Printf("[certs] Using existing %s keyless certificate authority\n", ca.BaseName)
    			return nil
    		}
    
    		// if dryrunning, write certificates authority to a temporary folder (and defer restore to the path originally specified by the user)
    		cfg := data.Cfg()
    		cfg.CertificatesDir = data.CertificateWriteDir()
    		defer func() { cfg.CertificatesDir = data.CertificateDir() }()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheConventionMappingIntegrationTest.groovy

    import org.gradle.api.tasks.Optional
    import org.gradle.api.tasks.TaskAction
    
    class ConfigurationCacheConventionMappingIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        def "doesn't restore convention value to incompatible field type"() {
            given:
            buildFile << """
                abstract class MyTask extends org.gradle.api.internal.ConventionTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. cni/pkg/log/uds_test.go

    	// This will error because stdout cannot sync, but the UDS part should sync
    	// Ideally we would fail if the UDS part fails but the error library makes it kind of tricky
    	_ = istiolog.Sync()
    
    	// Restore os stdout.
    	os.Stdout = stdout
    	assert.NoError(t, istiolog.Configure(loggingOptions))
    
    	assert.NoError(t, w.Close())
    	out, err := io.ReadAll(r)
    	assert.NoError(t, err)
    
    	cases := []struct {
    		level string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TestThread.java

       * method.
       */
      public void callAndAssertWaits(String methodName, Object conditionLikeObject) throws Exception {
        checkNotNull(methodName);
        checkNotNull(conditionLikeObject);
        // TODO: Restore the following line when Monitor.hasWaiters() no longer acquires the lock.
        // assertEquals(false, invokeMethod("hasWaiters", conditionLikeObject));
        sendRequest(methodName, conditionLikeObject);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

       * method.
       */
      public void callAndAssertWaits(String methodName, Object conditionLikeObject) throws Exception {
        checkNotNull(methodName);
        checkNotNull(conditionLikeObject);
        // TODO: Restore the following line when Monitor.hasWaiters() no longer acquires the lock.
        // assertEquals(false, invokeMethod("hasWaiters", conditionLikeObject));
        sendRequest(methodName, conditionLikeObject);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    	return err
    }
    
    // RestoreTransitionedObject - restore transitioned object content locally on this cluster.
    // This is similar to PostObjectRestore from AWS GLACIER
    // storage class. When PostObjectRestore API is called, a temporary copy of the object
    // is restored locally to the bucket on source cluster until the restore expiry date.
    // The copy that was transitioned continues to reside in the transitioned tier.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
Back to top