Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 296 for Mark (0.03 seconds)

  1. scripts/tests/test_translation_fixer/test_header_permalinks/test_header_level_mismatch.py

    import pytest
    from typer.testing import CliRunner
    
    from scripts.translation_fixer import cli
    
    data_path = Path(
        "scripts/tests/test_translation_fixer/test_header_permalinks/data"
    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_level_mismatch_1.md")],
        indirect=True,
    )
    def test_level_mismatch_1(runner: CliRunner, root_dir: Path, copy_test_files):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 2K bytes
    - Click Count (0)
  2. scripts/tests/test_translation_fixer/test_code_includes/test_number_mismatch.py

    import pytest
    from typer.testing import CliRunner
    
    from scripts.translation_fixer import cli
    
    data_path = Path(
        "scripts/tests/test_translation_fixer/test_code_includes/data"
    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")],
        indirect=True,
    )
    def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  3. docs/es/docs/advanced/async-tests.md

    Veamos cómo podemos hacer que esto funcione.
    
    ## pytest.mark.anyio { #pytest-mark-anyio }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. docs/fr/docs/advanced/async-tests.md

    Voyons comment procéder.
    
    ## pytest.mark.anyio { #pytest-mark-anyio }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_async_tests/test_main_a.py

    import pytest
    
    from docs_src.async_tests.app_a_py310.test_main import test_root
    
    
    @pytest.mark.anyio
    async def test_async_testing():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 155 bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/CompactHashMap.java

        return (1 << (metadata & CompactHashing.HASH_TABLE_BITS_MASK)) - 1;
      }
    
      void incrementModCount() {
        metadata += CompactHashing.MODIFICATION_COUNT_INCREMENT;
      }
    
      /**
       * Mark an access of the specified entry. Used only in {@code CompactLinkedHashMap} for LRU
       * ordering.
       */
      void accessEntry(int index) {
        // no-op by default
      }
    
      @CanIgnoreReturnValue
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/math/IntMath.java

            // subtracting two nonnegative ints can't overflow
            // cmpRemToHalfDivisor has the same sign as compare(abs(rem), abs(q) / 2).
            if (cmpRemToHalfDivisor == 0) { // exactly on the half mark
              increment = (mode == HALF_UP || (mode == HALF_EVEN & (div & 1) != 0));
            } else {
              increment = cmpRemToHalfDivisor > 0; // closer to the UP value
            }
            break;
          default:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  8. cmd/metacache-entries.go

    				if xl == nil {
    					// Discard current "best"
    					if err := selectFrom(bestIdx); err != nil {
    						return err
    					}
    					bestIdx = idx
    					best = other
    					xl = xl2
    				} else {
    					// Mark read, unless we added it as new "best".
    					if err := selectFrom(idx); err != nil {
    						return err
    					}
    				}
    				versions = append(versions, xl2.versions)
    			}
    
    			if xl != nil && len(versions) > 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
  9. cmd/erasure-server-pool-rebalance.go

    	r := z.rebalMeta
    	poolStats := r.PoolStats[poolIdx]
    	if poolStats.Info.Status == rebalCompleted {
    		return true
    	}
    
    	pfi := float64(poolStats.InitFreeSpace+poolStats.Bytes) / float64(poolStats.InitCapacity)
    	// Mark pool rebalance as done if within 5% from PercentFreeGoal.
    	if diff := math.Abs(pfi - r.PercentFreeGoal); diff <= 0.05 {
    		r.PoolStats[poolIdx].Info.Status = rebalCompleted
    		r.PoolStats[poolIdx].Info.EndTime = time.Now()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

      /** Swappable internal implementation of an ImmutableSet.Builder. */
      private abstract static class SetBuilderImpl<E> {
        // The first `distinct` elements are non-null.
        // Since we can never access null elements, we don't mark this nullable.
        E[] dedupedElements;
        int distinct;
    
        @SuppressWarnings("unchecked")
        SetBuilderImpl(int expectedCapacity) {
          this.dedupedElements = (E[]) new Object[expectedCapacity];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
Back to Top