Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2621 - 2630 of 6,164 for aString (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

     * @param charset which charset to use, null equals UTF-8.
     */
    internal fun String.canonicalizeWithCharset(
      pos: Int = 0,
      limit: Int = length,
      encodeSet: String,
      alreadyEncoded: Boolean = false,
      strict: Boolean = false,
      plusIsSpace: Boolean = false,
      unicodeAllowed: Boolean = false,
      charset: Charset? = null,
    ): String {
      var codePoint: Int
      var i = pos
      while (i < limit) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/EnumsTest.java

      public void testStringConverter_convertError() {
        Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class);
        assertThrows(IllegalArgumentException.class, () -> converter.convert("xxx"));
      }
    
      @GwtIncompatible // stringConverter
      public void testStringConverter_reverse() {
        Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. cmd/admin-handler-utils.go

    	return nil, auth.Credentials{}
    }
    
    // AdminError - is a generic error for all admin APIs.
    type AdminError struct {
    	Code       string
    	Message    string
    	StatusCode int
    }
    
    func (ae AdminError) Error() string {
    	return ae.Message
    }
    
    func toAdminAPIErr(ctx context.Context, err error) APIError {
    	if err == nil {
    		return noError
    	}
    
    	var apiErr APIError
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. internal/store/batch_test.go

    	}
    
    	var limit uint32 = 100
    
    	batch := NewBatch[TestItem](BatchConfig[TestItem]{
    		Limit:         limit,
    		Store:         store,
    		CommitTimeout: 5 * time.Minute,
    		Log: func(ctx context.Context, err error, id string, errKind ...interface{}) {
    			t.Log(err)
    		},
    	})
    	defer batch.Close()
    
    	for i := 0; i < int(limit); i++ {
    		if err := batch.Add(testItem); err != nil {
    			t.Fatalf("failed to add %v; %v", i, err)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/archive/zip/reader.go

    }
    
    func (f *fileListEntry) Info() (fs.FileInfo, error) { return f, nil }
    
    func (f *fileListEntry) String() string {
    	return fs.FormatDirEntry(f)
    }
    
    // toValidName coerces name to be a valid name for fs.FS.Open.
    func toValidName(name string) string {
    	name = strings.ReplaceAll(name, `\`, `/`)
    	p := path.Clean(name)
    
    	p = strings.TrimPrefix(p, "/")
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. cmd/update_test.go

    	if durl != mesosDeploymentDoc {
    		t.Errorf("Expected %s, got %s", mesosDeploymentDoc, durl)
    	}
    }
    
    // Tests user agent string.
    func TestUserAgent(t *testing.T) {
    	testCases := []struct {
    		envName     string
    		envValue    string
    		mode        string
    		expectedStr string
    	}{
    		{
    			envName:     "",
    			envValue:    "",
    			mode:        globalMinioModeFS,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsDuplicateHostCB.java

        public DuplicateHostCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsDuplicateHostCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (DuplicateHostCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsJobLogCB.java

        public JobLogCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsJobLogCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (JobLogCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsRelatedQueryCB.java

        public RelatedQueryCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsRelatedQueryCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (RelatedQueryCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/AutobahnTester.kt

              webSocket.send(bytes)
            }
    
            override fun onMessage(
              webSocket: WebSocket,
              text: String,
            ) {
              webSocket.send(text)
            }
    
            override fun onClosing(
              webSocket: WebSocket,
              code: Int,
              reason: String,
            ) {
              webSocket.close(1000, null)
              latch.countDown()
            }
    
            override fun onFailure(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top