Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 436 for Shares (0.15 seconds)

  1. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

    import java.util.Random;
    import java.util.concurrent.atomic.AtomicLong;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Single-threaded benchmark for {@link LoadingCache}.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class LoadingCacheSingleThreadBenchmark {
      @Param({"1000", "2000"})
      int maximumSize;
    
      @Param("5000")
      int distinctKeys;
    
      @Param("4")
      int segments;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java

    import java.util.concurrent.atomic.AtomicReferenceArray;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmark for {@code LocalCache.Segment.expand()}.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class SegmentBenchmark {
    
      @Param({"16", "32", "64", "128", "256", "512", "1024", "2048", "4096", "8192"})
      int capacity;
    
      private Segment<Object, Object> segment;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbPipeOutputStream.java

         *
         * @return the handle
         */
        protected SmbPipeHandleImpl getHandle() {
            return this.handle;
        }
    
        @Override
        public void close() {
            // ignore, the shared file descriptor is closed by the pipe handle
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

    import com.google.common.cache.LocalCache.Segment;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Benchmark for {@code LocalCache.Segment.removeEntryFromChain}.
     *
     * @author Charles Fry
     */
    @SuppressWarnings("CheckReturnValue")
    @NullUnmarked
    public class ChainBenchmark {
    
      @Param({"1", "2", "3", "4", "5", "6"})
      int length;
    
      private Segment<Object, Object> segment;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

    import okhttp3.internal.okHttpName
    import okhttp3.internal.threadFactory
    
    /**
     * A set of worker threads that are shared among a set of task queues.
     *
     * Use [INSTANCE] for a task runner that uses daemon threads. There is not currently a shared
     * instance for non-daemon threads.
     *
     * The task runner is also responsible for releasing held threads when the library is unloaded.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 11:30:11 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  6. generics_withresult_test.go

    	"gorm.io/driver/sqlite"
    	"gorm.io/gorm"
    )
    
    type withResultUser struct {
    	ID   uint
    	Name string
    }
    
    func TestWithResultIncludesError(t *testing.T) {
    	db, err := gorm.Open(sqlite.Open("file::memory:?cache=shared"), &gorm.Config{})
    	if err != nil {
    		t.Fatalf("open db failed: %v", err)
    	}
    	if err := db.AutoMigrate(&withResultUser{}); err != nil {
    		t.Fatalf("migrate failed: %v", err)
    	}
    
    	ctx := context.Background()
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/ForwardingCache.java

     * more methods to modify the behavior of the backing cache as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtIncompatible
    public abstract class ForwardingCache<K, V> extends ForwardingObject implements Cache<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingCache() {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  8. .github/CODEOWNERS

    /build-logic-settings/                      @gradle/bt-developer-productivity
    /build.gradle*                              @gradle/bt-developer-productivity
    /settings.gradle*                           @gradle/bt-developer-productivity
    gradle/shared-with-buildSrc/                @gradle/bt-developer-productivity
    packaging/internal-build-reports/           @gradle/bt-developer-productivity
    testing/distributions-basics/               @gradle/bt-developer-productivity
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 18:38:15 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/cache/RemovalListeners.java

    import com.google.common.annotations.GwtIncompatible;
    import java.util.concurrent.Executor;
    
    /**
     * A collection of common removal listeners.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtIncompatible
    public final class RemovalListeners {
    
      private RemovalListeners() {}
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  10. .github/release-drafter.yml

    # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    # KIND, either express or implied.  See the License for the
    # specific language governing permissions and limitations
    # under the License.
    
    _extends: maven-gh-actions-shared
    tag-template: maven-$RESOLVED_VERSION
    
    include-pre-releases: true
    prerelease: true
    
    # Override replacers to strip backport branch prefixes and handle JIRA links
    replacers:
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 13:07:10 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top