Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1351 - 1360 of 2,167 for inst (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. helm/minio/templates/statefulset.yaml

    {{- if eq .Values.mode "distributed" }}
    {{ $poolCount := .Values.pools | int }}
    {{ $nodeCount := .Values.replicas | int }}
    {{ $replicas := mul $poolCount $nodeCount }}
    {{ $drivesPerNode := .Values.drivesPerNode | int }}
    {{ $scheme := .Values.tls.enabled | ternary "https" "http" }}
    {{ $mountPath := .Values.mountPath }}
    {{ $bucketRoot := or ($.Values.bucketRoot) ($.Values.mountPath) }}
    {{ $subPath := .Values.persistence.subPath }}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 11 12:21:05 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/lang/MethodUtil.java

         */
        public static boolean isHashCodeMethod(final Method method) {
            assertArgumentNotNull("method", method);
    
            return method != null && method.getName().equals("hashCode") && method.getReturnType() == int.class
                    && method.getParameterTypes().length == 0;
        }
    
        /**
         * Returns whether the method is the {@literal toString()} method.
         *
         * @param method
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/path-params.md

          "input": "foo"
        }
      ]
    }
    ```
    
    тому що параметр шляху `item_id` мав значення `"foo"`, яке не є `int`.
    
    Та сама помилка з’явиться, якщо ви передасте `float` замість `int`, як у: [http://127.0.0.1:8000/items/4.2](http://127.0.0.1:8000/items/4.2)
    
    /// check | Перевірте
    
    Отже, з тим самим оголошенням типу в Python **FastAPI** надає вам валідацію даних.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 14K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        private int value;
    
        @Override
        public Integer get() {
          return ++value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof CountingSupplier) {
            return this.value == ((CountingSupplier) obj).value;
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return value;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        assertThat(asMap.get(2)).isEqualTo(20);
        assertThat(cache.getIfPresent(10)).isEqualTo(50);
        assertThat(asMap.get(10)).isEqualTo(50);
      }
    
      @Test
      public void removalListener() {
        int[] stats = new int[4];
    
        RemovalListener<Integer, Integer> countingListener =
            notification -> {
              switch (notification.getCause()) {
                case EXPIRED:
                  stats[0]++;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/StringsTest.java

                String target = "TARGET";
                String combined = prefix + target;
                byte[] combinedBytes = combined.getBytes(StandardCharsets.UTF_16LE);
                int prefixBytes = prefix.getBytes(StandardCharsets.UTF_16LE).length;
                int targetBytes = target.getBytes(StandardCharsets.UTF_16LE).length;
    
                // When
                String result = Strings.fromUNIBytes(combinedBytes, prefixBytes, targetBytes);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  7. gorm.go

    	Logger                   logger.Interface
    	NowFunc                  func() time.Time
    	CreateBatchSize          int
    }
    
    // Open initialize db session based on dialector
    func Open(dialector Dialector, opts ...Option) (db *DB, err error) {
    	config := &Config{}
    
    	sort.Slice(opts, func(i, j int) bool {
    		_, isConfig := opts[i].(*Config)
    		_, isConfig2 := opts[j].(*Config)
    		return isConfig && !isConfig2
    	})
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  8. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/fixtures/AbstractGitAwareGradleFuncTest.groovy

            FileUtils.copyDirectory(new File(fakeRemote.toURI()), workingRemoteGit)
            fakeRemote.file + "/.git"
            gradleRunner(workingRemoteGit, "wrapper").build()
    
            execute("git init", workingRemoteGit)
            execute('git config user.email "******@****.***"', workingRemoteGit)
            execute('git config user.name "Build tool"', workingRemoteGit)
            execute("git add .", workingRemoteGit)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

     */
    @NullUnmarked
    public class MultiReaderTest extends TestCase {
    
      public void testOnlyOneOpen() throws Exception {
        String testString = "abcdefgh";
        CharSource source = newCharSource(testString);
        int[] counter = new int[1];
        CharSource reader =
            new CharSource() {
              @Override
              public Reader openStream() throws IOException {
                if (counter[0]++ != 0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  10. cmd/bitrot-whole.go

    	disk      StorageAPI
    	volume    string
    	filePath  string
    	shardSize int64 // This is the shard size of the erasure logic
    	hash.Hash       // For bitrot hash
    }
    
    func (b *wholeBitrotWriter) Write(p []byte) (int, error) {
    	err := b.disk.AppendFile(context.TODO(), b.volume, b.filePath, p)
    	if err != nil {
    		return 0, err
    	}
    	_, err = b.Hash.Write(p)
    	if err != nil {
    		return 0, err
    	}
    	return len(p), nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 2.7K bytes
    - Click Count (0)
Back to Top