Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 410 for toYaml (0.12 sec)

  1. internal/dsync/drwmutex.go

    	// Create lock array to capture the successful lockers
    	locks := make([]string, len(restClnts))
    
    	// Add total timeout
    	ctx, cancel := context.WithTimeout(ctx, opts.Timeout)
    	defer cancel()
    
    	// Tolerance is not set, defaults to half of the locker clients.
    	tolerance := len(restClnts) / 2
    
    	// Quorum is effectively = total clients subtracted with tolerance limit
    	quorum := len(restClnts) - tolerance
    	if !isReadLock {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. cmd/data-usage_test.go

    		}
    		return
    	}
    	xls := xlStorage{drivePath: base, diskInfoCache: cachevalue.New[DiskInfo]()}
    	xls.diskInfoCache.InitOnce(time.Second, cachevalue.Opts{}, func(ctx context.Context) (DiskInfo, error) {
    		return DiskInfo{Total: 1 << 40, Free: 1 << 40}, nil
    	})
    	weSleep := func() bool { return false }
    
    	got, err := scanDataFolder(context.Background(), nil, &xls, dataUsageCache{Info: dataUsageCacheInfo{Name: bucket}}, getSize, 0, weSleep)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/extra-data-types.md

        * In requests and responses will be represented as a `str` in ISO 8601 format, like: `14:23:55.003`.
    * `datetime.timedelta`:
        * A Python `datetime.timedelta`.
        * In requests and responses will be represented as a `float` of total seconds.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

        assertEquals("abcd", mediaType.parameter("BOUNDARY"))
      }
    
      @Test fun testMultipleParameters() {
        val mediaType = parse("Message/Partial; number=2; total=3; id=\"oc=******@****.***\"")
        assertEquals("2", mediaType.parameter("number"))
        assertEquals("3", mediaType.parameter("total"))
        assertEquals("oc=******@****.***", mediaType.parameter("id"))
        assertNull(mediaType.parameter("foo"))
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. docs/sts/client_grants/__init__.py

                timeout=urllib3.Timeout.DEFAULT_TIMEOUT,
                maxsize=10,
                cert_reqs='CERT_NONE',
                ca_certs=ca_certs,
                retries=urllib3.Retry(
                    total=5,
                    backoff_factor=0.2,
                    status_forcelist=[500, 502, 503, 504]
                )
            )
    
        def load(self):
            """
            Search for credentials with client_grants
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  6. schema/naming_test.go

    	}
    
    	ns := NamingStrategy{}
    	for key, value := range maps {
    		if ns.toDBName(key) != value {
    			t.Errorf("%v toName should equal %v, but got %v", key, value, ns.toDBName(key))
    		}
    	}
    
    	maps = map[string]string{
    		"x":                              "X",
    		"user_restrictions":              "UserRestriction",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue May 30 02:00:48 UTC 2023
    - 7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/user/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java

        // GET /api/admin/log/files
        @Execute
        public JsonResponse<ApiResult> files() {
            final List<Map<String, Object>> list = getLogFileItems();
            return asJson(new ApiResult.ApiLogFilesResponse().files(list).total(list.size()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/log/file/{id}
        @Execute
        public StreamResponse get$file(final String id) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. android-test/README.md

    ...
    11:55:40 I/XmlResultReporter: XML test result file generated at /Users/myusername/workspace/okhttp/android-test/build/outputs/androidTest-results/connected/TEST-pixel3a-Q(AVD) - 10-android-test-.xml. Total tests 13, passed 11, assumption_failure 1, ignored 1,
    ...
    BUILD SUCCESSFUL in 1m 30s
    63 actionable tasks: 61 executed, 2 up-to-date
    
    ```
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. internal/http/request-recorder.go

    // of a given io.Reader
    type RequestRecorder struct {
    	// Data source to record
    	io.Reader
    	// Response body should be logged
    	LogBody bool
    
    	// internal recording buffer
    	buf bytes.Buffer
    	// total bytes read including header size
    	bytesRead int
    }
    
    // Close is a no operation closer
    func (r *RequestRecorder) Close() error {
    	// no-op
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 12 21:37:19 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top