Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 283 for Constable (0.52 sec)

  1. core/src/test/java/com/taobao/arthas/core/util/TypeRenderUtilsTest.java

                Assertions.assertThat(TypeRenderUtils.drawInterface(String.class)).isEqualTo(
                        "java.io.Serializable,java.lang.Comparable,java.lang.CharSequence,java.lang.constant.Constable,java.lang.constant.ConstantDesc");
            } else {
                Assertions.assertThat(TypeRenderUtils.drawInterface(String.class))
                        .isEqualTo("java.io.Serializable,java.lang.Comparable,java.lang.CharSequence");
    Java
    - Registered: 2022-09-29 00:57
    - Last Modified: 2020-12-14 14:57
    - 5.6K bytes
    - Viewed (0)
  2. compat/test/browser/unstable_batchedUpdates.test.js

    import { unstable_batchedUpdates } from 'preact/compat';
    
    describe('unstable_batchedUpdates', () => {
    	it('should call the callback', () => {
    		const spy = sinon.spy();
    		unstable_batchedUpdates(spy);
    		expect(spy).to.be.calledOnce;
    	});
    
    	it('should call callback with only one arg', () => {
    		const spy = sinon.spy();
    		unstable_batchedUpdates(spy, 'foo', 'bar');
    		expect(spy).to.be.calledWithExactly('foo');
    	});
    JavaScript
    - Registered: 2022-10-04 11:28
    - Last Modified: 2019-11-15 00:25
    - 421 bytes
    - Viewed (0)
  3. dev/benchmarks/macrobenchmarks/test/color_filter_with_unstable_child_perf_e2e.dart

    // found in the LICENSE file.
    
    import 'package:macrobenchmarks/common.dart';
    
    import 'util.dart';
    
    Future<void> main() async {
      macroPerfTestE2E(
        'color_filter_with_unstable_child_perf',
        kColorFilterWithUnstableChildName,
        pageDelay: const Duration(seconds: 1),
        duration: const Duration(seconds: 10),
      );
    Plain Text
    - Registered: 2022-09-30 06:24
    - Last Modified: 2022-07-20 19:13
    - 458 bytes
    - Viewed (0)
  4. src/cdk/table/coalesced-style-scheduler.ts

            this._currentSchedule = null;
          });
      }
    
      private _getScheduleObservable() {
        // Use onStable when in the context of an ongoing change detection cycle so that we
        // do not accidentally trigger additional cycles.
        return this._ngZone.isStable
          ? from(Promise.resolve(undefined))
          : this._ngZone.onStable.pipe(take(1));
      }
    Plain Text
    - Registered: 2022-10-02 16:47
    - Last Modified: 2021-10-18 18:58
    - 2.7K bytes
    - Viewed (0)
  5. src/components-examples/cdk/text-field/text-field-autosize-textarea/text-field-autosize-textarea-example.ts

      constructor(private _ngZone: NgZone) {}
    
      @ViewChild('autosize') autosize: CdkTextareaAutosize;
    
      triggerResize() {
        // Wait for changes to be applied, then trigger textarea resize.
        this._ngZone.onStable.pipe(take(1)).subscribe(() => this.autosize.resizeToFitContent(true));
      }
    Plain Text
    - Registered: 2022-10-02 16:47
    - Last Modified: 2021-10-18 18:58
    - 727 bytes
    - Viewed (0)
  6. src/cdk-experimental/popover-edit/edit-ref.ts

       */
      init(previousFormValue: FormValue | undefined): void {
        // Wait for the zone to stabilize before caching the initial value.
        // This ensures that all form controls have been initialized.
        this._ngZone.onStable.pipe(take(1)).subscribe(() => {
          this.updateRevertValue();
          if (previousFormValue) {
            this.reset(previousFormValue);
          }
        });
      }
    
      ngOnDestroy(): void {
    Plain Text
    - Registered: 2022-10-02 16:47
    - Last Modified: 2021-10-18 18:58
    - 2.8K bytes
    - Viewed (0)
  7. src/cdk/testing/private/mock-ng-zone.ts

    /**
     * Mock synchronous NgZone implementation that can be used
     * to flush out `onStable` subscriptions in tests.
     *
     * via: https://github.com/angular/angular/blob/master/packages/core/testing/src/ng_zone_mock.ts
     * @docs-private
     */
    @Injectable()
    export class MockNgZone extends NgZone {
      override readonly onStable = new EventEmitter(false);
    
      constructor() {
        super({enableLongStackTrace: false});
      }
    
    Plain Text
    - Registered: 2022-10-02 16:47
    - Last Modified: 2021-10-18 18:58
    - 875 bytes
    - Viewed (0)
  8. compiler/rustc_codegen_cranelift/build_system/tests.rs

    TestCase::new("jit.mini_core_hello_world", &|runner| { let mut jit_cmd = runner.rustc_command([ "-Zunstable-options", "-Cllvm-args=mode=jit", "-Cprefer-dynamic", "example/mini_core_hello_world.rs", "--cfg", "jit", "--target", &runner.host_triple, ]); jit_cmd.env("CG_CLIF_JIT_ARGS", "abc bcd"); spawn_and_wait(jit_cmd); eprintln!("[JIT-lazy] mini_core_hello_world"); let mut jit_cmd = runner.rustc_command([ "-Zunstable-options", "-Cllvm-args=mode=jit-lazy", "-Cprefer-dynamic", "example/mini_core_hello_world.rs",...
    Others
    - Registered: 2022-10-03 03:55
    - Last Modified: 2022-08-24 17:06
    - 19.8K bytes
    - Viewed (0)
  9. compat/test/browser/scheduler.test.js

    import {
    	unstable_runWithPriority,
    	unstable_NormalPriority,
    	unstable_LowPriority,
    	unstable_IdlePriority,
    	unstable_UserBlockingPriority,
    	unstable_ImmediatePriority,
    	unstable_now
    } from 'preact/compat/scheduler';
    
    describe('scheduler', () => {
    	describe('runWithPriority', () => {
    		it('should call callback ', () => {
    			const spy = sinon.spy();
    			unstable_runWithPriority(unstable_IdlePriority, spy);
    JavaScript
    - Registered: 2022-10-04 11:28
    - Last Modified: 2021-04-26 20:08
    - 1K bytes
    - Viewed (0)
  10. compiler/rustc_error_codes/src/error_codes/E0547.md

    #![stable(since = "1.0.0", feature = "test")]
    
    #[unstable(feature = "_unstable_fn")] // invalid
    fn _unstable_fn() {}
    
    #[rustc_const_unstable(feature = "_unstable_const_fn")] // invalid
    const fn _unstable_const_fn() {}
    ```
    
    To fix this issue, you need to provide the `issue` field. Example:
    
    ```
    #![feature(staged_api)]
    #![stable(since = "1.0.0", feature = "test")]
    
    #[unstable(feature = "_unstable_fn", issue = "none")] // ok!
    Plain Text
    - Registered: 2022-08-01 03:55
    - Last Modified: 2021-07-08 05:52
    - 1K bytes
    - Viewed (0)
Back to top