Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 241 for discarded (0.17 sec)

  1. src/slices/slices_test.go

    	s := mem[0:5] // there is 1 element beyond len(s), within cap(s)
    
    	s = Delete(s, 2, 4)
    
    	if mem[3] != nil || mem[4] != nil {
    		// Check that potential memory leak is avoided
    		t.Errorf("Delete: want nil discarded elements, got %v, %v", mem[3], mem[4])
    	}
    	if mem[5] == nil {
    		t.Errorf("Delete: want unchanged elements beyond original len, got nil")
    	}
    }
    
    func TestDeleteFuncClearTail(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. src/crypto/tls/tls.go

    // certificate chain. On successful return, Certificate.Leaf will be populated.
    //
    // Before Go 1.23 Certificate.Leaf was left nil, and the parsed certificate was
    // discarded. This behavior can be re-enabled by setting "x509keypairleaf=0"
    // in the GODEBUG environment variable.
    func LoadX509KeyPair(certFile, keyFile string) (Certificate, error) {
    	certPEMBlock, err := os.ReadFile(certFile)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishHttpIntegTest.groovy

            succeeds 'publish'
    
            then:
            module.assertPublishedAsJavaModule()
            if (GradleContextualExecuter.isConfigCache()) {
                postBuildOutputContains("Configuration cache entry discarded")
            }
        }
    
        def "can publish to authenticated repository with name not valid as identity as long as one uses inlined credentials "() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy

                tasks.named("jar") { dependsOn("printValue") }
            """)
    
            when:
            configurationCacheFails()
    
            then:
            outputContains("Configuration cache entry discarded with 1 problem.")
            problems.assertFailureHasProblems(failure) {
                totalProblemsCount = 1
                // TODO(mlopatkin): Is it possible to figure out a correct location? Report falls back to "Gradle runtime"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 11:47:23 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  5. pkg/kubelet/pleg/evented.go

    func (e *EventedPLEG) sendPodLifecycleEvent(event *PodLifecycleEvent) {
    	select {
    	case e.eventChannel <- event:
    	default:
    		// record how many events were discarded due to channel out of capacity
    		metrics.PLEGDiscardEvents.Inc()
    		klog.ErrorS(nil, "Evented PLEG: Event channel is full, discarded pod lifecycle event")
    	}
    }
    
    func getPodSandboxState(podStatus *kubecontainer.PodStatus) kubecontainer.State {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ArtifactSetToFileCollectionFactory.java

                        artifactSets.add((ResolvedArtifactSet) element);
                    } else {
                        // Should not be used, and cannot be provided as the artifact metadata may have been discarded.
                        throw new UnsupportedOperationException();
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonClientsManagerTest.groovy

            manager.reserveIdleClient(options) == null
    
            when:
            manager.release(client)
    
            then:
            manager.reserveIdleClient(options) == client
        }
    
        def "clients are discarded when log level changes"() {
            OutputEventListener listener
            def client = Mock(WorkerDaemonClient) {
                isCompatibleWith(_) >> true
                getLogLevel() >> LogLevel.INFO
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/net/tcpsock.go

    //
    // If sec == 0, the operating system discards any unsent or
    // unacknowledged data.
    //
    // If sec > 0, the data is sent in the background as with sec < 0.
    // On some operating systems including Linux, this may cause Close to block
    // until all data has been sent or discarded.
    // On some operating systems after sec seconds have elapsed any remaining
    // unsent data may be discarded.
    func (c *TCPConn) SetLinger(sec int) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/WorkNodeCodec.kt

            if (node is ActionNode) {
                val setupNode = node.action?.preExecutionNode
                // Could probably add some abstraction for nodes that can be executed eagerly and discarded
                if (setupNode is DefaultTransformUpstreamDependenciesResolver.FinalizeTransformDependenciesFromSelectedArtifacts.CalculateFinalDependencies) {
                    setupNode.run(object : NodeExecutionContext {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHub.java

     */
    public class MessageHub implements AsyncStoppable {
        private enum State {Running, Stopping, Stopped}
    
        private static final Discard DISCARD = new Discard();
        private final ManagedExecutor workers;
        private final String displayName;
        private final Action<? super Throwable> errorHandler;
        private final Lock lock = new ReentrantLock();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 16.2K bytes
    - Viewed (0)
Back to top