Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for cleanerCh (0.34 sec)

  1. src/database/sql/sql.go

    func (db *DB) SetConnMaxLifetime(d time.Duration) {
    	if d < 0 {
    		d = 0
    	}
    	db.mu.Lock()
    	// Wake cleaner up when lifetime is shortened.
    	if d > 0 && d < db.maxLifetime && db.cleanerCh != nil {
    		select {
    		case db.cleanerCh <- struct{}{}:
    		default:
    		}
    	}
    	db.maxLifetime = d
    	db.startCleanerLocked()
    	db.mu.Unlock()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  2. pkg/controller/certificates/cleaner/cleaner.go

    limitations under the License.
    */
    
    // Package cleaner implements an automated cleaner that does garbage collection
    // on CSRs that meet specific criteria. With automated CSR requests and
    // automated approvals, the volume of CSRs only increases over time, at a rapid
    // rate if the certificate duration is short.
    package cleaner
    
    import (
    	"context"
    	"crypto/x509"
    	"encoding/pem"
    	"fmt"
    	"time"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. src/go/types/check.go

    	check.delayed = check.delayed[:top]
    }
    
    // cleanup runs cleanup for all collected cleaners.
    func (check *Checker) cleanup() {
    	// Don't use a range clause since Named.cleanup may add more cleaners.
    	for i := 0; i < len(check.cleaners); i++ {
    		check.cleaners[i].cleanup()
    	}
    	check.cleaners = nil
    }
    
    func (check *Checker) record(x *operand) {
    	// convert x into a user-friendly set of values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check.go

    	check.delayed = check.delayed[:top]
    }
    
    // cleanup runs cleanup for all collected cleaners.
    func (check *Checker) cleanup() {
    	// Don't use a range clause since Named.cleanup may add more cleaners.
    	for i := 0; i < len(check.cleaners); i++ {
    		check.cleaners[i].cleanup()
    	}
    	check.cleaners = nil
    }
    
    func (check *Checker) record(x *operand) {
    	// convert x into a user-friendly set of values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

            .build()
        val cleaner = get(root.certificate)
        assertThat(cleaner.clean(list(root), "hostname")).isEqualTo(list(root))
      }
    
      @Test
      fun normalizeUnknownSelfSignedCertificate() {
        val root =
          HeldCertificate.Builder()
            .serialNumber(1L)
            .build()
        val cleaner = get()
        assertFailsWith<SSLPeerUnverifiedException> {
          cleaner.clean(list(root), "hostname")
        }
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. pkg/controller/bootstrap/tokencleaner_test.go

    		cleaner.processNextWorkItem(context.TODO())
    		verifyActions(t, expected, cl.Actions())
    	}
    	// token has not expired currently
    	verifyFunc()
    
    	if cleaner.queue.Len() != 0 {
    		t.Errorf("not using the queue, the length should be 0, now: %v", cleaner.queue.Len())
    	}
    
    	var conditionFunc = func() (bool, error) {
    		if cleaner.queue.Len() == 1 {
    			return true, nil
    		}
    		return false, nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/OutputsCleanerTest.groovy

            }
    
            !subDir.exists()
            !outputDir.exists()
            cleaner.didWork
        }
    
        private void cleanupOutput(File... files)  {
            for (File file : files) {
                cleaner.cleanupOutput(file, file.directory ? FileType.Directory : FileType.RegularFile)
            }
            cleaner.cleanupDirectories()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. tools/istio-clean-iptables/pkg/cmd/cleanup_test.go

    			tt.config(cfg)
    
    			ext := &dep.DependenciesStub{}
    			iptStub, _ := ext.DetectIptablesVersion(false)
    			ip6tStub, _ := ext.DetectIptablesVersion(true)
    			cleaner := NewIptablesCleaner(cfg, &iptStub, &ip6tStub, ext)
    
    			cleaner.Run()
    
    			compareToGolden(t, tt.name, ext.ExecutedAll)
    
    			expectedExecutedNormally := []string{"iptables-save", "ip6tables-save"}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 17:46:23 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/namespace-role-bindings.yaml

        labels:
          kubernetes.io/bootstrapping: rbac-defaults
        name: system:controller:token-cleaner
        namespace: kube-system
      roleRef:
        apiGroup: rbac.authorization.k8s.io
        kind: Role
        name: system:controller:token-cleaner
      subjects:
      - kind: ServiceAccount
        name: token-cleaner
        namespace: kube-system
    kind: List
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 08 16:15:52 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  10. platforms/ide/base-ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/IdePluginTest.groovy

            Task worker = project.tasks['generateXml']
            Task ideTask = project.tasks['testIde']
            ideTask.taskDependencies.getDependencies(ideTask) == [worker] as Set
    
            Task cleaner = project.tasks['cleanGenerateXml']
            cleaner instanceof Delete
        }
    }
    
    class TestIdePlugin extends IdePlugin {
        @Override protected String getLifecycleTaskName() {
            return 'testIde'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top