Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1241 - 1250 of 1,703 for byte (0.02 sec)

  1. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        }
        server
          .url("/b")
          .toUrl()
          .openConnection()
          .getInputStream() // Should succeed.
      }
    
      /**
       * Throttle the request body by sleeping 500ms after every 3 bytes. With a 6-byte request, this
       * should yield one sleep for a total delay of 500ms.
       */
      @Test
      fun throttleRequest() {
        assumeNotWindows()
        server.enqueue(
          MockResponse()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    				continue
    			}
    
    			bucketMap[bucket].QuotaConfigJSON = data
    			bucketMap[bucket].QuotaConfigUpdatedAt = updatedAt
    			rpt.SetStatus(bucket, fileName, nil)
    		}
    	}
    
    	enc := func(b []byte) *string {
    		if b == nil {
    			return nil
    		}
    		v := base64.StdEncoding.EncodeToString(b)
    		return &v
    	}
    
    	for bucket, meta := range bucketMap {
    		err := globalBucketMetadataSys.save(ctx, *meta)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.3K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

        TYPE_DEVIATION,
        TYPE_DISALLOWED_STD3_VALID,
        TYPE_VALID,
        -> TYPE_VALID
    
        TYPE_DISALLOWED -> TYPE_DISALLOWED
    
        else -> error("unexpected type: $type")
      }
    
    internal infix fun Byte.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Short.and(mask: Int): Int = toInt() and mask
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. cmd/object-api-listobjects_test.go

    	objMd5 := md5.Sum([]byte(objContent))
    
    	uploads := []struct {
    		bucket     string
    		expired    int
    		notExpired int
    	}{
    		{"test-list-ilm-nothing-expired", 0, 6},
    		{"test-list-ilm-all-expired", 6, 0},
    		{"test-list-ilm-all-half-expired", 3, 3},
    	}
    
    	oneWeekAgo := time.Now().Add(-7 * 24 * time.Hour)
    
    	lifecycleBytes := []byte(`
    <LifecycleConfiguration>
    	<Rule>
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            SmbTransport.ServerData serverData = transport.new ServerData();
            serverData.security = 0; // Set to 0 or appropriate value for SECURITY_SHARE
            serverData.encryptionKey = new byte[8]; // Initialize with empty encryption key
    
            // Configure the mock transport with the server data
            transport.server = serverData;
    
            smbtStatic = mockStatic(SmbTransport.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. schema/naming.go

    	}, "_"), ".", "_")
    
    	if ns.IdentifierMaxLength == 0 {
    		ns.IdentifierMaxLength = 64
    	}
    
    	if utf8.RuneCountInString(formattedName) > ns.IdentifierMaxLength {
    		h := sha1.New()
    		h.Write([]byte(formattedName))
    		bs := h.Sum(nil)
    
    		formattedName = formattedName[0:ns.IdentifierMaxLength-8] + hex.EncodeToString(bs)[:8]
    	}
    	return formattedName
    }
    
    var (
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

        /**
         * Writes data to the specified file path.
         *
         * @param path the file path to write to
         * @param data the data to write
         */
        protected void write(final String path, final byte[] data) {
            LdiFileUtil.write(path, data);
        }
    
        /**
         * Gets the servlet context.
         *
         * @return the servlet context
         */
        protected ServletContext getServletContext() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * and a fixed number of values. Each key must match the regex `[a-z0-9_-]{1,64}`. Values are byte
     * sequences, accessible as streams or files. Each value must be between `0` and `Int.MAX_VALUE`
     * bytes in length.
     *
     * The cache stores its data in a directory on the filesystem. This directory must be exclusive to
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  9. cmd/admin-handlers-idp-config.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// Write to the config input KV to history.
    	if err = saveServerConfigHistory(ctx, objectAPI, []byte(cfgData)); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseHeadersOnly(w)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                            if (contentLength > maxLength) {
                                throw new MaxLengthExceededException("The content length (" + contentLength + " byte) is over " + maxLength
                                        + " byte. The url is " + robotTxtUrl);
                            }
                        }
                    }
    
                    if (httpEntity != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
Back to top