Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2681 - 2690 of 6,132 for trying (0.08 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

                System.out.println(i);
                Thread.sleep(10);
                sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i)));
              }
              sink.close();
            } catch (IOException | InterruptedException e) {
              e.printStackTrace();
            }
          }
    
          private String factor(int n) {
            for (int i = 2; i < n; i++) {
              int x = n / i;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/SearchBody.java

     */
    package org.codelibs.fess.app.web.api.admin.webconfig;
    
    import org.codelibs.fess.app.web.api.admin.BaseSearchBody;
    
    public class SearchBody extends BaseSearchBody {
        public String name;
    
        public String urls;
    
        public String description;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 869 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/entity/GeoInfo.java

            final String[] geoFields = fessConfig.getQueryGeoFieldsAsArray();
            final Map<String, List<QueryBuilder>> geoMap = new HashMap<>();
    
            StreamUtil.stream(request.getParameterMap())
                    .of(stream -> stream.filter(e -> e.getKey().startsWith("geo.") && e.getKey().endsWith(".point")).forEach(e -> {
                        final String key = e.getKey();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsCrawlingInfoParamCB.java

        public CrawlingInfoParamCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsCrawlingInfoParamCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (CrawlingInfoParamCB) 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
    - 6.8K bytes
    - Viewed (0)
  5. internal/config/bool-flag_test.go

    package config
    
    import (
    	"testing"
    )
    
    // Test BoolFlag.String()
    func TestBoolFlagString(t *testing.T) {
    	var bf BoolFlag
    
    	testCases := []struct {
    		flag           BoolFlag
    		expectedResult string
    	}{
    		{bf, "off"},
    		{BoolFlag(true), "on"},
    		{BoolFlag(false), "off"},
    	}
    
    	for _, testCase := range testCases {
    		str := testCase.flag.String()
    		if testCase.expectedResult != str {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  6. internal/config/subnet/subnet.go

    	// LoggerWebhookName - subnet logger webhook target
    	LoggerWebhookName = "subnet"
    )
    
    // Upload given file content (payload) to specified URL
    func (c Config) Upload(reqURL string, filename string, payload []byte) (string, error) {
    	if !c.Registered() {
    		return "", errors.New("Deployment is not registered with SUBNET. Please register the deployment via 'mc license register ALIAS'")
    	}
    
    	var body bytes.Buffer
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 27 16:35:36 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

                    }
                    final String filename = entry.getName();
                    final String mimeType = mimeTypeHelper.getContentType(null, filename);
                    if (mimeType != null) {
                        final Extractor extractor = extractorFactory.getExtractor(mimeType);
                        if (extractor != null) {
                            try {
                                final Map<String, String> map = new HashMap<>();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbException.java

        
        // to replace a bunch of one-off binary searches
        private static final Map<Integer, String> errorCodeMessages;
        private static final Map<Integer, String> winErrorCodeMessages;
        private static final Map<Integer, Integer> dosErrorCodeStatuses;
    
        static {
            Map<Integer, String> errorCodeMessagesTmp = new HashMap<>();
            for (int i = 0; i < NT_STATUS_CODES.length; i++) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:16:55 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  9. internal/config/lambda/event/errors.go

    )
    
    // ErrUnknownRegion - unknown region error.
    type ErrUnknownRegion struct {
    	Region string
    }
    
    func (err ErrUnknownRegion) Error() string {
    	return fmt.Sprintf("unknown region '%v'", err.Region)
    }
    
    // ErrARNNotFound - ARN not found error.
    type ErrARNNotFound struct {
    	ARN ARN
    }
    
    func (err ErrARNNotFound) Error() string {
    	return fmt.Sprintf("ARN '%v' not found", err.ARN)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

    /**
     * Tests for {@link SerializableTester}.
     *
     * @author Nick Kralevich
     */
    public class SerializableTesterTest extends TestCase {
      public void testStringAssertions() {
        String original = "hello world";
        String copy = SerializableTester.reserializeAndAssert(original);
        assertEquals(original, copy);
        assertNotSame(original, copy);
      }
    
      public void testClassWhichDoesNotImplementEquals() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top