Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for observes (0.09 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import java.util.concurrent.TimeUnit
    
    /**
     * Observes, modifies, and potentially short-circuits requests going out and the corresponding
     * responses coming back in. Typically interceptors add, remove, or transform headers on the request
     * or response.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertNotNull(object);
          assertSame(object, striped.getAt(i)); // idempotent
          observed.add(object);
        }
        assertTrue("All stripes observed", observed.size() == striped.size());
    
        // this uses #get(key), makes sure an already observed stripe is returned
        for (int i = 0; i < striped.size() * 100; i++) {
          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertNotNull(object);
          assertSame(object, striped.getAt(i)); // idempotent
          observed.add(object);
        }
        assertTrue("All stripes observed", observed.size() == striped.size());
    
        // this uses #get(key), makes sure an already observed stripe is returned
        for (int i = 0; i < striped.size() * 100; i++) {
          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. docs/pt/docs/benchmarks.md

    Mas quando se checa _benchmarks_ e comparações você deveria ter o seguinte em mente.
    
    ## Comparações e velocidade
    
    Ao verificar os _benchmarks_, é comum observar algumas ferramentas de diferentes tipos comparadas como equivalentes.
    
    Especificamente, observa-se Uvicorn, Starlette e FastAPI comparados juntos (entre muitas outras ferramentas).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

        }
    
        /**
         * Checks if `expected` and `observed` are equal when viewed as a set and headers are
         * deduped.
         *
         * TODO: See if duped headers should be preserved on decode and verify.
         */
        private fun assertSetEquals(
          message: String,
          expected: List<Header>,
          observed: List<Header>,
        ) {
          assertThat(LinkedHashSet(observed), message)
            .isEqualTo(LinkedHashSet(expected))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

            /* Samba 2.2.7 needs ATTR_NORMAL
             */
            writeInt2(0x80 | attributes, dst, dstIndex);
            dstIndex += 2;
            /* 6 zeros observed with NT */
            writeInt8(0L, dst, dstIndex);
            dstIndex += 6;
    
            /* Also observed 4 byte alignment but we stick
             * with the default for jCIFS which is 2 */
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

            final int start = dstIndex;
            dstIndex += this.info.encode(dst, dstIndex);
    
            /* 6 zeros observed with NT */
            SMBUtil.writeInt8(0L, dst, dstIndex);
            dstIndex += 6;
    
            /*
             * Also observed 4 byte alignment but we stick
             * with the default for jCIFS which is 2
             */
    
            return dstIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestTransferListener.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.wagon.observers.AbstractTransferListener;
    
    public class TestTransferListener extends AbstractTransferListener {
    
        private final List<String> transfers = new ArrayList<>();
    
        public List<String> getTransfers() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. cmd/tier_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    	"time"
    )
    
    func TestTierMetrics(t *testing.T) {
    	tier := "WARM-1"
    	globalTierMetrics.Observe(tier, 200*time.Millisecond)
    	expSuccess := 10
    	expFailure := 5
    	for range expSuccess {
    		globalTierMetrics.logSuccess(tier)
    	}
    	for range expFailure {
    		globalTierMetrics.logFailure(tier)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/testing.md

    Escreva instruções `assert` simples com as expressões Python padrão que você precisa verificar (novamente, `pytest` padrão).
    
    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    /// tip | Dica
    
    Observe que as funções de teste são `def` normais, não `async def`.
    
    E as chamadas para o cliente também são chamadas normais, não usando `await`.
    
    Isso permite que você use `pytest` diretamente sem complicações.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top