Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 762 for chunks (0.08 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        return multiset(ImmutableMap.of(value1, count1, value2, count2));
      }
    
      private static <T> ImmutableMultiset<T> multiset(Map<T, Integer> counts) {
        ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder();
        for (Entry<T, Integer> entry : counts.entrySet()) {
          builder.addCopies(entry.getKey(), entry.getValue());
        }
        return builder.build();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        final Comparator<? super E> comparator;
        final E[] elements;
        final int[] counts;
    
        @SuppressWarnings("unchecked")
        SerializedForm(SortedMultiset<E> multiset) {
          this.comparator = multiset.comparator();
          int n = multiset.entrySet().size();
          elements = (E[]) new Object[n];
          counts = new int[n];
          int i = 0;
          for (Entry<E> entry : multiset.entrySet()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 29.5K bytes
    - Click Count (0)
  3. cmd/healthcheck-handler.go

    		} else {
    			writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    		}
    		return
    	}
    	writeResponse(w, http.StatusOK, nil, mimeNone)
    }
    
    // ReadinessCheckHandler checks whether MinIO is up and ready to serve requests.
    // It also checks whether the KMS is available and whether etcd is reachable,
    // if configured.
    func ReadinessCheckHandler(w http.ResponseWriter, r *http.Request) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 26 07:44:34 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  4. tests/submodel_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/gorm"
    )
    
    type Man struct {
    	ID     int
    	Age    int
    	Name   string
    	Detail string
    }
    
    // Panic-safe BeforeUpdate hook that checks for Changed("age")
    func (m *Man) BeforeUpdate(tx *gorm.DB) (err error) {
    	if !tx.Statement.Changed("age") {
    		return nil
    	}
    	return nil
    }
    
    func TestSubModel(t *testing.T) {
    	man := Man{Age: 18, Name: "random-name"}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 947 bytes
    - Click Count (0)
  5. .github/workflows/containers.yml

    permissions:
      contents: read
    
    env:
      GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
    
    jobs:
      test_containers:
        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'containers')
    
        steps:
          - name: Checkout
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 875 bytes
    - Click Count (0)
  6. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java

          return;
        }
        try {
          result = runInterruptibly();
        } catch (Throwable t) {
          error = t;
        }
        if (error == null) {
          // The cast is safe because of the `run` and `error` checks.
          afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result));
        } else {
          afterRanInterruptiblyFailure(error);
        }
      }
    
      abstract boolean isDone();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/SmbResourceTest.java

                // Then
                assertTrue(exists, "Should support SMB existence checks");
                assertTrue(isFile, "Should support SMB file type detection");
                assertTrue(canRead, "Should support SMB read permission checks");
                assertTrue(canWrite, "Should support SMB write permission checks");
            }
    
            @Test
            @DisplayName("SmbResource should support SMB stream operations")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  8. build-logic/buildquality/build.gradle.kts

    plugins {
        id("gradlebuild.build-logic.kotlin-dsl-gradle-plugin")
    }
    
    description = "Provides plugins to configure quality checks (incubating report, CodeNarc, et al)"
    
    dependencies {
        implementation("gradlebuild:basics")
    
        implementation(projects.cleanup)
        implementation(projects.documentation)
        implementation(projects.integrationTesting)
        implementation(projects.jvm)
        implementation(projects.performanceTesting)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 09:06:26 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            }
            return componentMap.containsKey(componentKey);
        }
    
        /**
         * Checks if query parser is available.
         * @return True if query parser is available, false otherwise.
         */
        public static boolean hasQueryParser() {
            return hasComponent(QUERY_PARSER);
        }
    
        /**
         * Checks if view helper is available.
         * @return True if view helper is available, false otherwise.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/pager/FileAuthPager.java

         *
         * @param allPageCount the total page count
         */
        public void setAllPageCount(final int allPageCount) {
            this.allPageCount = allPageCount;
        }
    
        /**
         * Checks if a previous page exists.
         *
         * @return true if a previous page exists, false otherwise
         */
        public boolean isExistPrePage() {
            return existPrePage;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top