Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 528 for clen (0.07 sec)

  1. pkg/controller/ttlafterfinished/ttlafterfinished_controller.go

    		},
    	})
    
    	tc.jLister = jobInformer.Lister()
    	tc.jListerSynced = jobInformer.Informer().HasSynced
    
    	tc.clock = clock.RealClock{}
    
    	return tc
    }
    
    // Run starts the workers to clean up Jobs.
    func (tc *Controller) Run(ctx context.Context, workers int) {
    	defer utilruntime.HandleCrash()
    	defer tc.queue.ShutDown()
    
    	logger := klog.FromContext(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 23:59:28 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/worker_api.adoc

    include::sample[dir="snippets/workerApi/md5CustomTask/kotlin",files="build.gradle.kts[]"]
    include::sample[dir="snippets/workerApi/md5CustomTask/groovy",files="build.gradle[]"]
    ====
    <1> Apply the `base` plugin so that you'll have a `clean` task to use to remove the output.
    <2> MD5 hash files will be written to `build/md5`.
    <3> This task will generate MD5 hash files for every file in the `src` directory.
    
    You will need some source to generate MD5 hashes from.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 13:41:08 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy

        def snapshotModule = mavenHttpRepo.module('org.example', 'example', '1.0-SNAPSHOT').publish().allowAll()
    
        def setup() {
            requireOwnGradleUserHomeDir("test requires its own journal")
        }
    
        def "does not clean up resources and files that were recently used from caches"() {
            given:
            buildscriptWithDependency(snapshotModule)
    
            when:
            succeeds 'resolve'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. pkg/kubelet/logs/container_log_manager.go

    //
    // Implementation is thread-safe.
    type ContainerLogManager interface {
    	// TODO(random-liu): Add RotateLogs function and call it under disk pressure.
    	// Start container log manager.
    	Start()
    	// Clean removes all logs of specified container.
    	Clean(ctx context.Context, containerID string) error
    }
    
    // LogRotatePolicy is a policy for container log rotation. The policy applies to all
    // containers managed by kubelet.
    type LogRotatePolicy struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/builtins.go

    			check.recordBuiltinType(call.Fun, sig)
    		}
    
    	case _Cap, _Len:
    		// cap(x)
    		// len(x)
    		mode := invalid
    		var val constant.Value
    		switch t := arrayPtrDeref(under(x.typ)).(type) {
    		case *Basic:
    			if isString(t) && id == _Len {
    				if x.mode == constant_ {
    					mode = constant_
    					val = constant.MakeInt64(int64(len(constant.StringVal(x.val))))
    				} else {
    					mode = value
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache.adoc

    :classes
    :jar
    :assemble
    
    BUILD SUCCESSFUL
    ----
    
    We see the directory used by the local build cache in the output. Apart from that the build was the same as without the build cache.
    Let's clean and run the build again.
    
    ----
    > gradle clean
    :clean
    
    BUILD SUCCESSFUL
    ----
    
    ----
    > gradle --build-cache assemble
    :compileJava FROM-CACHE
    :processResources
    :classes
    :jar
    :assemble
    
    BUILD SUCCESSFUL
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 11:30:10 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. src/go/types/builtins.go

    			check.recordBuiltinType(call.Fun, sig)
    		}
    
    	case _Cap, _Len:
    		// cap(x)
    		// len(x)
    		mode := invalid
    		var val constant.Value
    		switch t := arrayPtrDeref(under(x.typ)).(type) {
    		case *Basic:
    			if isString(t) && id == _Len {
    				if x.mode == constant_ {
    					mode = constant_
    					val = constant.MakeInt64(int64(len(constant.StringVal(x.val))))
    				} else {
    					mode = value
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/iimport.go

    	}
    
    	sLen := r.uint64()
    	dLen := r.uint64()
    
    	if sLen > math.MaxUint64-dLen {
    		errorf("lengths out of range (%d, %d)", sLen, dLen)
    	}
    
    	data, err := saferio.ReadData(r, sLen+dLen)
    	if err != nil {
    		errorf("cannot read %d bytes of stringData and declData: %s", sLen+dLen, err)
    	}
    	stringData := data[:sLen]
    	declData := data[sLen:]
    
    	p := iimporter{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultExclusiveCacheAccessCoordinatorTest.groovy

        }
    
        def "cleans up on close when clean up has not already occurred"() {
            def access = newAccess(OnDemand)
    
            when:
            access.open()
            access.close()
    
            then:
            1 * cleanupExecutor.cleanup()
            0 * _
        }
    
        def "does not clean up on close when clean up has already occurred"() {
            def access = newAccess(OnDemand)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/stream_executor/stream_executor.h

      // Callbacks for creating/destroying SP_Device.
      void (*create_device)(const SP_Platform* platform,
                            SE_CreateDeviceParams* params, TF_Status* status);
    
      // Clean up fields inside SP_Device that were allocated
      // by the plugin. `device` itself should not be deleted here.
      void (*destroy_device)(const SP_Platform* platform, SP_Device* device);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
Back to top