Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 271 for Reset (0.16 sec)

  1. cmd/callhome.go

    		case <-callhomeTimer.C:
    			if !globalCallhomeConfig.Enabled() {
    				// Stop the processing as callhome got disabled
    				return false
    			}
    
    			performCallhome(ctx)
    
    			// Reset the timer for next cycle.
    			callhomeTimer.Reset(globalCallhomeConfig.FrequencyDur())
    		}
    	}
    }
    
    func performCallhome(ctx context.Context) {
    	deadline := 10 * time.Second // Default deadline is 10secs for callhome
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.1K bytes
    - Viewed (1)
  2. internal/config/cache/remote_gen_test.go

    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeCondCheck Msgsize() is inaccurate")
    	}
    
    	vn := CondCheck{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func BenchmarkEncodeCondCheck(b *testing.B) {
    	v := CondCheck{}
    	var buf bytes.Buffer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 21:46:17 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

      }
    
      @Flaky
      @RetryingTest(5)
      fun missingClientAuthFailsForNeeds() {
        // Fails with 11.0.1 https://github.com/square/okhttp/issues/4598
        // StreamReset stream was reset: PROT...
        val client = buildClient(null, clientIntermediateCa.certificate)
        val socketFactory = buildServerSslSocketFactory()
        server.useHttps(socketFactory)
        server.requireClientAuth()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    	// set globalObjectAPI to `nil`.
    	resetGlobalObjectAPI()
    	// Reset config path set.
    	resetGlobalConfigPath()
    	// Reset Global server config.
    	resetGlobalConfig()
    	// Reset global endpoints.
    	resetGlobalEndpoints()
    	// Reset global isErasure flag.
    	resetGlobalIsErasure()
    	// Reset global heal state
    	resetGlobalHealState()
    	// Reset globalIAMSys to `nil`
    	resetGlobalIAMSys()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingHelper.java

        /**
         * Updates the context class loader such that the container will search the project realm when the model builder
         * injects the lifecycle bindings from the packaging in the next step. The context class loader is to be reset by
         * the project builder when the project is fully assembled.
         *
         * @param project The project whose class realm should be selected, must not be {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. cmd/erasure-utils.go

    		if offset >= int64(len(block)) {
    			// Decrement offset.
    			offset -= int64(len(block))
    			continue
    		}
    
    		// Skip until offset.
    		block = block[offset:]
    
    		// Reset the offset for next iteration to read everything
    		// from subsequent blocks.
    		offset = 0
    
    		// We have written all the blocks, write the last remaining block.
    		if write < int64(len(block)) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/StreamResetException.kt

    import java.io.IOException
    
    /** Thrown when an HTTP/2 stream is canceled without damage to the socket that carries it. */
    class StreamResetException(
      @JvmField val errorCode: ErrorCode,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 869 bytes
    - Viewed (0)
  8. cmd/bitrot-streaming.go

    	h            hash.Hash
    	shardSize    int64
    	canClose     *sync.WaitGroup
    }
    
    func (b *streamingBitrotWriter) Write(p []byte) (int, error) {
    	if len(p) == 0 {
    		return 0, nil
    	}
    	b.h.Reset()
    	b.h.Write(p)
    	hashBytes := b.h.Sum(nil)
    	_, err := b.iow.Write(hashBytes)
    	if err != nil {
    		b.closeWithErr(err)
    		return 0, err
    	}
    	n, err := b.iow.Write(p)
    	if err != nil {
    		b.closeWithErr(err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. cmd/lock-rest-server.go

    		select {
    		case <-ctx.Done():
    			return
    		case <-lkTimer.C:
    			globalLockServer.expireOldLocks(lockValidityDuration)
    
    			// Reset the timer for next cycle.
    			lkTimer.Reset(lockMaintenanceInterval)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

         * the interrupting thread doesn't interrupt the _next_ thing to run on this thread.
         *
         * Note: We don't reset the interrupted bit, just wait for it to be set. If this is a thread
         * pool thread, the thread pool will reset it for us. Otherwise, the interrupted bit may have
         * been intended for something else, so don't clear it.
         */
        boolean restoreInterruptedBit = false;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
Back to top