Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,250 for clean (0.35 sec)

  1. pkg/registry/core/service/portallocator/controller/repair.go

    	leaks         map[int]int // counter per leaked port
    
    	broadcaster events.EventBroadcaster
    	recorder    events.EventRecorder
    }
    
    // How many times we need to detect a leak before we clean up.  This is to
    // avoid races between allocating a ports and using it.
    const numRepairsBeforeLeakCleanup = 3
    
    // NewRepair creates a controller that periodically ensures that all ports are uniquely allocated across the cluster
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics_test.go

    			},
    			expectedScope: "cluster",
    		},
    	}
    
    	for _, test := range testCases {
    		t.Run(test.name, func(t *testing.T) {
    			if CleanScope(test.requestInfo) != test.expectedScope {
    				t.Errorf("failed to clean scope: %v", test.requestInfo)
    			}
    		})
    	}
    }
    
    func TestCleanFieldValidation(t *testing.T) {
    	testCases := []struct {
    		name                    string
    		url                     *url.URL
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/log/slog/logger_test.go

    func checkLogOutput(t *testing.T, got, wantRegexp string) {
    	t.Helper()
    	got = clean(got)
    	wantRegexp = "^" + wantRegexp + "$"
    	matched, err := regexp.MatchString(wantRegexp, got)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !matched {
    		t.Errorf("\ngot  %s\nwant %s", got, wantRegexp)
    	}
    }
    
    // clean prepares log output for comparison.
    func clean(s string) string {
    	if len(s) > 0 && s[len(s)-1] == '\n' {
    		s = s[:len(s)-1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:25:30 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/normalization/ConfigureRuntimeClasspathNormalizationIntegrationTest.groovy

                    }
                }
            """
    
            when:
            args('--build-cache')
            succeeds 'clean', project.customTask
            then:
            executedAndNotSkipped(project.customTask)
    
            when:
            args("-P${enableFilterFlag}", '--build-cache')
            succeeds 'clean', project.customTask
            then:
            executedAndNotSkipped(project.customTask)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  5. src/os/signal/signal_cgo_test.go

    		d := time.Until(deadline)
    		var cancel context.CancelFunc
    		ctx, cancel = context.WithTimeout(ctx, d)
    		t.Cleanup(cancel)
    
    		// We run the subprocess with an additional 20% margin to allow it to fail
    		// and clean up gracefully if it times out.
    		cmdArgs = append(cmdArgs, fmt.Sprintf("-test.timeout=%v", d*5/4))
    	}
    
    	cmd := testenv.CommandContext(t, ctx, os.Args[0], cmdArgs...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/generate-clients.md

    In this case you have:
    
    * `ItemsService`
    * `UsersService`
    
    ### Client Method Names
    
    Right now the generated method names like `createItemItemsPost` don't look very clean:
    
    ```TypeScript
    ItemsService.createItemItemsPost({name: "Plumbus", price: 5})
    ```
    
    ...that's because the client generator uses the OpenAPI internal **operation ID** for each *path operation*.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/compile.go

    	{name: "opt deadcode", fn: deadcode, required: true}, // remove any blocks orphaned during opt
    	{name: "generic cse", fn: cse},
    	{name: "phiopt", fn: phiopt},
    	{name: "gcse deadcode", fn: deadcode, required: true}, // clean out after cse and phiopt
    	{name: "nilcheckelim", fn: nilcheckelim},
    	{name: "prove", fn: prove},
    	{name: "early fuse", fn: fuseEarly},
    	{name: "expand calls", fn: expandCalls, required: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // This transformation pass applies some clean up steps after quantization.
    
    #include <string>
    #include <utility>
    
    #include "llvm/Support/Casting.h"
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/TypeUtilities.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/plugins/XcodePlugin.java

                    Task bridgeTask = project.getTasks().create(taskName);
                    String action = xcodePropertyAdapter.getAction();
                    if (action.equals("clean")) {
                        bridgeTask.dependsOn("clean");
                    } else if ("".equals(action) || "build".equals(action)) {
                        final XcodeTarget target = findXcodeTarget();
                        if (target.isUnitTest()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  10. pkg/volume/util/fsquota/quota_linux.go

    	}
    	count, ok := podDirCountMap[poduid]
    	if count <= 1 || !ok {
    		err = clearQuotaOnDir(m, path)
    		// This error should be noted; we still need to clean up
    		// and otherwise handle in the same way.
    		if err != nil {
    			klog.V(3).Infof("Unable to clear quota %v %s: %v", dirQuotaMap[path], path, err)
    		}
    		delete(quotaSizeMap, podQuotaMap[poduid])
    		delete(quotaPodMap, podQuotaMap[poduid])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 07 08:07:51 UTC 2023
    - 14.1K bytes
    - Viewed (0)
Back to top