Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1421 - 1430 of 5,353 for Return (0.03 sec)

  1. docs/debugging/hash-set/main.go

    	if cardinality <= 0 {
    		return -1
    	}
    	// use the faster version as per siphash docs
    	// https://github.com/dchest/siphash#usage
    	k0, k1 := binary.LittleEndian.Uint64(id[0:8]), binary.LittleEndian.Uint64(id[8:16])
    	sum64 := siphash.Hash(k0, k1, []byte(key))
    	return int(sum64 % uint64(cardinality))
    }
    
    // hashOrder - hashes input key to return consistent
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

        assertFalse(
            "setCount() with a too-small oldCount should return false",
            getMultiset().setCount(e0(), 1, 5));
        expectContents(nCopies(3, e0()));
      }
    
      /*
       * TODO: test that unmodifiable multisets either throw UOE or return false
       * when both are valid options. Currently we test the UOE cases and the
       * return-false cases but not their intersection
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. cmd/consolelogger.go

    				continue
    			}
    			select {
    			case subCh <- entry:
    			case <-doneCh:
    				return nil
    			}
    		}
    	}
    	return sys.pubsub.Subscribe(madmin.LogMaskAll, subCh, doneCh, filter)
    }
    
    // Init if HTTPConsoleLoggerSys is valid, always returns nil right now
    func (sys *HTTPConsoleLoggerSys) Init(_ context.Context) error {
    	return nil
    }
    
    // Endpoint - dummy function for interface compatibility
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

            try {
                return new ZipFile(file);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Creates and returns a <code>ZipFile</code> for reading the specified file.
         *
         * @param file
         *            File. Must not be {@literal null}.
         * @return A <code>ZipFile</code> for reading the specified file.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.isUseLease();
        }
    
        @Override
        public int getLeaseTimeout() {
            return this.delegate.getLeaseTimeout();
        }
    
        @Override
        public int getMaxLeases() {
            return this.delegate.getMaxLeases();
        }
    
        @Override
        public int getLeaseVersion() {
            return this.delegate.getLeaseVersion();
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                // Then
                assertNotNull(result, "Should return exception for error result");
                assertEquals("DCERPC_BIND_ERR_LOCAL_LIMIT_EXCEEDED", result.getMessage(), "Should return correct error message for code 3");
            }
    
            @Test
            @DisplayName("getResult should return hex representation for unknown error codes")
            void testGetResultUnknownError() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsRoleBhv.java

        @Override
        public String asTableDbName() {
            return asEsIndexType();
        }
    
        @Override
        protected String asEsIndex() {
            return "fess_user.role";
        }
    
        @Override
        public String asEsIndexType() {
            return "role";
        }
    
        @Override
        public String asEsSearchType() {
            return "role";
        }
    
        @Override
        public RoleDbm asDBMeta() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsRequestHeaderBhv.java

        @Override
        public String asTableDbName() {
            return asEsIndexType();
        }
    
        @Override
        protected String asEsIndex() {
            return "fess_config.request_header";
        }
    
        @Override
        public String asEsIndexType() {
            return "request_header";
        }
    
        @Override
        public String asEsSearchType() {
            return "request_header";
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsThumbnailQueueBhv.java

        @Override
        public String asTableDbName() {
            return asEsIndexType();
        }
    
        @Override
        protected String asEsIndex() {
            return "fess_config.thumbnail_queue";
        }
    
        @Override
        public String asEsIndexType() {
            return "thumbnail_queue";
        }
    
        @Override
        public String asEsSearchType() {
            return "thumbnail_queue";
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Striped.java

       * exclusively.
       *
       * @param index the index of the stripe to return; must be in {@code [0...size())}
       * @return the stripe at the specified index
       */
      public abstract L getAt(int index);
    
      /**
       * Returns the index to which the given key is mapped, so that getAt(indexFor(key)) == get(key).
       */
      abstract int indexFor(Object key);
    
      /** Returns the total number of stripes in this instance. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top