Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for _finalize (0.19 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

                                           /*only_one_return_value=*/false,
                                           /*allow_return_of_existing=*/true);
    
      finalize_name = GetName(regional, "_finalize");
      finalize_name =
          ExtractSingleBlockRegion(symbol_table, regional.getFinalize(),
                                   finalize_name, extern_values, worklist,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

            }
            2.times {
                fails "thing", "-Pfinalizer.broken"
                result.assertTasksExecutedInOrder ":thing", ":finalizerDep", ":finalizer"
            }
        }
    
        def "finalizer can indirectly depend on the entry point finalized by it"() {
            given:
            buildFile '''
                task finalizer(type: BreakingTask) {
                    dependsOn 'finalizerDep'
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanTest.groovy

            then:
            executes(finalized, finalizerDependency, finalizer, dependsOnFinalizer)
        }
    
        def "finalizer tasks run as soon as possible for tasks that depend on finalized tasks"() {
            Task finalizer = task("finalizer")
            Task finalized = task("finalized", finalizedBy: [finalizer])
            Task dependsOnFinalized = task("dependsOnFinalized", dependsOn: [finalized])
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  4. pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go

    		t.Errorf("Expected finalize-namespace action %v", actions[0])
    	}
    	finalizers := actions[0].(core.CreateAction).GetObject().(*v1.Namespace).Spec.Finalizers
    	if len(finalizers) != 1 {
    		t.Errorf("There should be a single finalizer remaining")
    	}
    	if string(finalizers[0]) != "other" {
    		t.Errorf("Unexpected finalizer value, %v", finalizers[0])
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  5. pkg/controller/namespace/deletion/namespaced_resources_deleter.go

    		return nil
    	}
    
    	// return if it is already finalized.
    	if finalized(namespace) {
    		return nil
    	}
    
    	// there may still be content for us to remove
    	estimate, err := d.deleteAllContent(ctx, namespace)
    	if err != nil {
    		return err
    	}
    	if estimate > 0 {
    		return &ResourcesRemainingError{estimate}
    	}
    
    	// we have removed content, so mark it finalized by us
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  6. src/crypto/internal/boring/rsa.go

    	runtime.SetFinalizer(k, (*PublicKeyRSA).finalize)
    	return k, nil
    }
    
    func (k *PublicKeyRSA) finalize() {
    	C._goboringcrypto_RSA_free(k._key)
    }
    
    func (k *PublicKeyRSA) withKey(f func(*C.GO_RSA) C.int) C.int {
    	// Because of the finalizer, any time _key is passed to cgo, that call must
    	// be followed by a call to runtime.KeepAlive, to make sure k is not
    	// collected (and finalized) before the cgo call returns.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 23:38:03 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/execution/plan/FinalizerGroup.java

        }
    
        private boolean hasACycle(Node finalized, SetMultimap<FinalizerGroup, FinalizerGroup> reachableGroups) {
            if (!(finalized.getGroup() instanceof HasFinalizers) || finalized.getGroup().isReachableFromEntryPoint()) {
                // Is not a member of a finalizer group or will not be blocked
                return false;
            }
            HasFinalizers groups = (HasFinalizers) finalized.getGroup();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jul 01 16:25:48 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * <pre>{@code
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null;  // Hint to the JIT that x is stack-unreachable
     * GcFinalization.await(latch);
     * }</pre>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * <pre>{@code
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null;  // Hint to the JIT that x is stack-unreachable
     * GcFinalization.await(latch);
     * }</pre>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyLifecycleIntegrationTest.groovy

                        println("value = " + thing.prop.get())
                    }
                }
            """
    
            when:
            run("show")
    
            then:
            outputContains("finalize failed with: Cannot finalize the value of extension 'thing' property 'prop' because configuration of root project 'broken' has not completed yet.")
            output.count("value = value 1") == 2
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 14:00:52 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top