Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 4,329 for init (0.05 sec)

  1. guava/src/com/google/common/collect/HashBiMap.java

      private transient int size;
      private transient int mask;
      private transient int modCount;
    
      private HashBiMap(int expectedSize) {
        init(expectedSize);
      }
    
      private void init(int expectedSize) {
        checkNonnegative(expectedSize, "expectedSize");
        int tableSize = Hashing.closedTableSize(expectedSize, LOAD_FACTOR);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  2. docs/auditlog/auditlog-echo.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bytes"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    )
    
    var port int
    
    func init() {
    	flag.IntVar(&port, "port", 8080, "Port to listen on")
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	body, err := io.ReadAll(r.Body)
    	defer r.Body.Close()
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.entity;
    
    /**
     * @author shinsuke
     *
     */
    public interface AccessResult<IDTYPE> {
        void init(ResponseData responseData, ResultData resultData);
    
        IDTYPE getId();
    
        void setId(IDTYPE id);
    
        String getSessionId();
    
        void setSessionId(String sessionId);
    
        String getRuleId();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            String url, exp;
            final FessFileTransformer transformer = new FessFileTransformer() {
                @Override
                public int getMaxSiteLength() {
                    return 10;
                }
            };
            transformer.init();
    
            url = "file:/home/user/foo";
            exp = "/home/u...";
            assertEquals(exp, transformer.getSiteOnFile(url, "UTF-8"));
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/CheckTeamCityKotlinDSL.kt

    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    import model.CIBuildModel
    import model.Stage
    
    class CheckTeamCityKotlinDSL(model: CIBuildModel, stage: Stage) : OsAwareBaseGradleBuildType(
        os = Os.LINUX, stage = stage, init = {
            id("${model.projectId}_CheckTeamCityKotlinDSL")
            name = "CheckTeamCityKotlinDSL"
            description = "Check Kotlin DSL in .teamcity/"
    
            applyDefaultSettings()
            steps {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 30 04:10:13 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. internal/logger/target/testlogger/testlogger.go

    	"github.com/minio/pkg/v3/logger/message/log"
    )
    
    const (
    	logMessage = iota
    	errorMessage
    	fatalMessage
    )
    
    // T is the test logger.
    var T = &testLogger{}
    
    func init() {
    	logger.AddSystemTarget(context.Background(), T)
    }
    
    type testLogger struct {
    	current atomic.Pointer[testing.TB]
    	action  atomic.Int32
    }
    
    // SetLogTB will set the logger to output to tb.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. cmd/erasure-metadata-utils.go

    // in the slices returned.
    func hashOrder(key string, cardinality int) []int {
    	if cardinality <= 0 {
    		// Returns an empty int slice for cardinality < 0.
    		return nil
    	}
    
    	nums := make([]int, cardinality)
    	keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable)
    
    	start := int(keyCrc % uint32(cardinality))
    	for i := 1; i <= cardinality; i++ {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api

    	public final fun resolvePrivateAddresses ()Z
    	public final fun resolvePublicAddresses ()Z
    	public final fun url ()Lokhttp3/HttpUrl;
    }
    
    public final class okhttp3/dnsoverhttps/DnsOverHttps$Builder {
    	public fun <init> ()V
    	public final fun bootstrapDnsHosts (Ljava/util/List;)Lokhttp3/dnsoverhttps/DnsOverHttps$Builder;
    	public final fun bootstrapDnsHosts ([Ljava/net/InetAddress;)Lokhttp3/dnsoverhttps/DnsOverHttps$Builder;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 27 15:23:43 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

            false
          }
    
        fun buildIfSupported(): ConscryptPlatform? = if (isSupported) ConscryptPlatform() else null
    
        fun atLeastVersion(
          major: Int,
          minor: Int = 0,
          patch: Int = 0,
        ): Boolean {
          val conscryptVersion = Conscrypt.version() ?: return false
    
          if (conscryptVersion.major() != major) {
            return conscryptVersion.major() > major
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/converter/KatakanaConverterTest.java

    import junit.framework.TestCase;
    
    public class KatakanaConverterTest extends TestCase {
        public void test_convert() throws Exception {
            /*
             * TODO ReadingConverter converter = new KatakanaConverter(); converter.init(); assertEquals("ケンサク",
             * converter.convert("検索").get(0));
             */
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1001 bytes
    - Viewed (0)
Back to top