Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 1,215 for tcount (0.07 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            setScopedVertices(scopedVertices);
    
            this.versionedVertices = scopedVertices || versionedVertices;
            this.scopedVertices = scopedVertices;
    
            int count = countNodes(tree);
    
            init(count, count + (count / 2));
    
            processTreeNodes(null, tree, 0, 0);
        }
        // ------------------------------------------------------------------------
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetForEachEntryTester.java

        getMultiset()
            .forEachEntry((element, count) -> actual.add(Multisets.immutableEntry(element, count)));
        assertEquals(expected, actual);
      }
    
      public void testForEachEntryDuplicates() {
        initThreeCopies();
        List<Entry<E>> expected = singletonList(Multisets.immutableEntry(e0(), 3));
        List<Entry<E>> actual = new ArrayList<>();
        getMultiset()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

      @Override
      void setCountCheckReturnValue(E element, int count) {
        assertTrue(
            "setCount() with the correct expected present count should return true",
            setCount(element, count));
      }
    
      @Override
      void setCountNoCheckReturnValue(E element, int count) {
        setCount(element, count);
      }
    
      @CanIgnoreReturnValue
      private boolean setCount(E element, int count) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4K bytes
    - Click Count (0)
  4. tests/test_security_scopes.py

    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(name="call_counter")
    def call_counter_fixture():
        return {"count": 0}
    
    
    @pytest.fixture(name="app")
    def app_fixture(call_counter: dict[str, int]):
        def get_db():
            call_counter["count"] += 1
            return f"db_{call_counter['count']}"
    
        def get_user(db: Annotated[str, Depends(get_db)]):
            return "user"
    
        app = FastAPI()
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1006 bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/util/MD4.java

         *    This constructor is here to implement cloneability of this class.
         */
        private MD4(final MD4 md) {
            this();
            context = md.context.clone();
            buffer = md.buffer.clone();
            count = md.count;
        }
    
        // Cloneable method implementation
        //...........................................................................
    
        /**
         * Returns a copy of this MD object.
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  6. internal/lock/lock_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	isClosed := rlk.IsClosed()
    	if isClosed {
    		t.Fatal("File ref count shouldn't be zero")
    	}
    
    	// Increase reference count to 2.
    	rlk.IncLockRef()
    
    	isClosed = rlk.IsClosed()
    	if isClosed {
    		t.Fatal("File ref count shouldn't be zero")
    	}
    
    	// Decrease reference count by 1.
    	if err = rlk.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	isClosed = rlk.IsClosed()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ForwardingMultiset.java

        return Multisets.setCountImpl(this, element, count);
      }
    
      /**
       * A sensible definition of {@link #setCount(Object, int, int)} in terms of {@link #count(Object)}
       * and {@link #setCount(Object, int)}. If you override either of these methods, you may wish to
       * override {@link #setCount(Object, int, int)} to forward to this implementation.
       *
       * @since 7.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

                    return value;
                  }
                });
          }
          assertThat(segment.count).isEqualTo(count);
          assertThat(count).isAtMost(segment.threshold);
          assertThat(count).isAtMost((segment.table.length() * 3 / 4));
          assertThat(count).isGreaterThan(segment.table.length() * 3 / 8);
        }
      }
    
      @SuppressWarnings("TruthGetOrDefault") // We are testing our implementation of getOrDefault.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheTest.java

                    return value;
                  }
                });
          }
          assertThat(segment.count).isEqualTo(count);
          assertThat(count).isAtMost(segment.threshold);
          assertThat(count).isAtMost((segment.table.length() * 3 / 4));
          assertThat(count).isGreaterThan(segment.table.length() * 3 / 8);
        }
      }
    
      @SuppressWarnings("TruthGetOrDefault") // We are testing our implementation of getOrDefault.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
  10. cmd/erasure-healing-common.go

    	latest := int64(0)
    
    	// Find the common cardinality from previously collected
    	// occurrences of elements.
    	for nano, count := range timeOccurrenceMap {
    		if count < maxima {
    			continue
    		}
    
    		// We are at or above maxima
    		if count > maxima || nano > latest {
    			maxima = count
    			latest = nano
    		}
    	}
    
    	// Return the collected common max time, with maxima
    	return time.Unix(0, latest).UTC(), maxima
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top