Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2711 - 2720 of 3,763 for int (0.03 sec)

  1. src/main/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizer.java

        @Override
        public String normalize(final String text, final String field, final String... langs) {
            final char[] chars = new char[text.length()];
            for (int i = 0; i < chars.length; i++) {
                final char c = text.charAt(i);
                if (c >= 'a' && c <= 'z') {
                    chars[i] = (char) (c - 'a' + 'a');
                } else if (c >= 'A' && c <= 'Z') {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/AlphaNumWordFilterFactory.java

    import org.opensearch.index.IndexSettings;
    import org.opensearch.index.analysis.AbstractTokenFilterFactory;
    
    public class AlphaNumWordFilterFactory extends AbstractTokenFilterFactory {
    
        private final int maxTokenLength;
    
        public AlphaNumWordFilterFactory(final IndexSettings indexSettings, final Environment environment, final String name,
                final Settings settings) {
            super(indexSettings, name, settings);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Streams.java

        }
        class Splitr extends MapWithIndexSpliterator<Spliterator.OfInt, R, Splitr>
            implements IntConsumer, Spliterator<R> {
          int holder;
    
          Splitr(Spliterator.OfInt splitr, long index) {
            super(splitr, index);
          }
    
          @Override
          public void accept(int t) {
            this.holder = t;
          }
    
          @Override
          public boolean tryAdvance(Consumer<? super R> action) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java

            assertEquals(2, ingesters[1].getPriority());
            assertEquals(3, ingesters[2].getPriority());
        }
    
        private static class TestIngester extends Ingester {
            public TestIngester(int priority) {
                this.priority = priority;
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Diag.java

        @Inject
        public Diag(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        protected int doExecute(DefaultEncryptInvoker.LocalContext context) {
            dumpResponse(context, "", secDispatcher.validateConfiguration());
            return OK;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. tests/test_validate_response.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    
    
    @app.get("/items/invalidnone", response_model=Item)
    def get_invalid_none():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

      val callTimeoutMillis: Int = builder.callTimeout
    
      /** Default connect timeout (in milliseconds). The default is 10 seconds. */
      @get:JvmName("connectTimeoutMillis")
      val connectTimeoutMillis: Int = builder.connectTimeout
    
      /** Default read timeout (in milliseconds). The default is 10 seconds. */
      @get:JvmName("readTimeoutMillis")
      val readTimeoutMillis: Int = builder.readTimeout
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  8. internal/grid/grid.go

    var GetByteBuffer = func() []byte {
    	b := *internalByteBuffer.Get().(*[]byte)
    	return b[:0]
    }
    
    // GetByteBufferCap returns a length 0 byte buffer with at least the given capacity.
    func GetByteBufferCap(wantSz int) []byte {
    	if wantSz < defaultBufferSize {
    		b := GetByteBuffer()[:0]
    		if cap(b) >= wantSz {
    			return b
    		}
    		PutByteBuffer(b)
    	}
    	if wantSz <= maxBufferSize {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. internal/http/transports.go

    	CipherSuites     []uint16
    	CurvePreferences []tls.CurveID
    
    	// HTTP2
    	EnableHTTP2 bool
    
    	// TCP Options
    	TCPOptions TCPOptions
    }
    
    func (s ConnSettings) getDefaultTransport(maxIdleConnsPerHost int) *http.Transport {
    	if maxIdleConnsPerHost <= 0 {
    		maxIdleConnsPerHost = 1024
    	}
    
    	dialContext := s.DialContext
    	if dialContext == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        List<String> misbehavingList =
            new AbstractList<String>() {
              @Override
              public int size() {
                return list.size();
              }
    
              @Override
              public String get(int index) {
                if (index < 2) {
                  throw new AssertionError();
                }
                return list.get(index);
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top