Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 506 for hook1 (0.1 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/config_test.go

    		"/healthz/log",
    		"/healthz/ping",
    		"/healthz/poststarthook/delegate-post-start-hook",
    		"/healthz/poststarthook/generic-apiserver-start-informers",
    		"/healthz/poststarthook/max-in-flight-filter",
    		"/healthz/poststarthook/storage-object-count-tracker-hook",
    		"/healthz/poststarthook/wrapping-post-start-hook",
    		"/healthz/wrapping-health",
    		"/livez",
    		"/livez/delegate-health",
    		"/livez/log",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

          new TensorFlowRegistryEffectInterfaceFallback();
    
      // Support unknown operations because not all TensorFlow operations are
      // registered.
      allowUnknownOperations();
    
      for (auto &hook : GetAdditionalOperationHooks()) {
        hook.second(*this);
      }
    }
    
    TensorFlowDialect::~TensorFlowDialect() {
      delete fallback_effect_op_interface_;
    }
    
    Type TensorFlowDialect::parseType(DialectAsmParser &parser) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. callbacks/update.go

    					if _, ok := dest[rel.Name]; ok {
    						db.AddError(rel.Field.Set(db.Statement.Context, db.Statement.ReflectValue, dest[rel.Name]))
    					}
    				}
    			}
    		}
    	}
    }
    
    // BeforeUpdate before update hooks
    func BeforeUpdate(db *gorm.DB) {
    	if db.Error == nil && db.Statement.Schema != nil && !db.Statement.SkipHooks && (db.Statement.Schema.BeforeSave || db.Statement.Schema.BeforeUpdate) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/lifecycle_signals.go

    The following is a sequence of shutdown events that we expect to see with
      'ShutdownSendRetryAfter' = false:
    
    T0: ShutdownInitiated: KILL signal received
    	- /readyz starts returning red
        - run pre shutdown hooks
    
    T0+70s: AfterShutdownDelayDuration: shutdown delay duration has passed
    	- the default value of 'ShutdownDelayDuration' is '70s'
    	- it's time to initiate shutdown of the HTTP Server, server.Shutdown is invoked
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:30 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. src/net/http/export_test.go

    		t.connsPerHostMu.Unlock()
    	}
    
    	return t.tryPutIdleConn(&persistConn{
    		t:        t,
    		alt:      alt,
    		cacheKey: key,
    	}) == nil
    }
    
    // All test hooks must be non-nil so they can be called directly,
    // but the tests use nil to mean hook disabled.
    func unnilTestHook(f *func()) {
    	if *f == nil {
    		*f = nop
    	}
    }
    
    func hookSetter(dst *func()) func(func()) {
    	return func(fn func()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/plugin.go

    		return nil
    	} else if !c.WaitForReady() {
    		return admission.NewForbidden(a, fmt.Errorf("not yet ready to handle request"))
    	}
    
    	return c.dispatcher.Dispatch(ctx, a, o, c.source.Hooks())
    }
    
    func (c *Plugin[H]) shouldIgnoreResource(attr admission.Attributes) bool {
    	gvr := attr.GetResource()
    	// exclusion decision ignores the version.
    	gr := gvr.GroupResource()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 19:11:10 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. .pre-commit-config.yaml

    # See https://pre-commit.com for more information
    # See https://pre-commit.com/hooks.html for more hooks
    default_language_version:
        python: python3.10
    repos:
    -   repo: https://github.com/pre-commit/pre-commit-hooks
        rev: v4.4.0
        hooks:
        -   id: check-added-large-files
        -   id: check-toml
        -   id: check-yaml
            args:
            -   --unsafe
        -   id: end-of-file-fixer
        -   id: trailing-whitespace
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 737 bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/MoreExecutors.java

                        // following code, but unfortunately the behavior of logging
                        // is undefined in shutdown hooks.
                        // This is because the logging code installs a shutdown hook of its
                        // own. See Cleaner class inside {@link LogManager}.
                        service.shutdown();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 43.7K bytes
    - Viewed (0)
  9. src/runtime/testdata/testexithooks/testexithooks.go

    	f3 := func() { println("blek") }
    	f4 := func() { println("blub") }
    	f5 := func() { println("blat") }
    	exithook.Add(exithook.Hook{F: f1})
    	exithook.Add(exithook.Hook{F: f2, RunOnFailure: true})
    	exithook.Add(exithook.Hook{F: f3})
    	exithook.Add(exithook.Hook{F: f4, RunOnFailure: true})
    	exithook.Add(exithook.Hook{F: f5})
    	os.Exit(1)
    }
    
    func testPanics() {
    	f1 := func() { println("ok") }
    	f2 := func() { panic("BADBADBAD") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source_test.go

    			},
    			PolicyName: "policy2",
    		}))
    	require.Len(t, testContext.Source.Hooks(), 1, "should have one policy")
    	require.Equal(t, "policy2", testContext.Source.Hooks()[0].Policy.GetName(), "policy name should be policy2")
    	require.Len(t, testContext.Source.Hooks()[0].Bindings, 1, "should have one binding")
    	require.Equal(t, "binding1", testContext.Source.Hooks()[0].Bindings[0].GetName(), "binding name should be binding1")
    
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top