- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 938 for encoding (0.08 sec)
-
cmd/http-tracer.go
reqHeaders := r.Header.Clone() reqHeaders.Set("Host", r.Host) if len(r.TransferEncoding) == 0 { reqHeaders.Set("Content-Length", strconv.Itoa(int(r.ContentLength))) } else { reqHeaders.Set("Transfer-Encoding", strings.Join(r.TransferEncoding, ",")) } inputBytes := reqRecorder.Size() for k, v := range reqHeaders { inputBytes += len(k) + len(v) } // Calculate node name nodeName := r.Host
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 6K bytes - Viewed (0) -
cmd/erasure-metadata-utils_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "encoding/hex" "fmt" "math/rand" "reflect" "testing" ) // Tests caclculating disk count. func TestDiskCount(t *testing.T) { testCases := []struct { disks []StorageAPI diskCount int }{
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
// When & Then assertThrows(ArrayIndexOutOfBoundsException.class, () -> new Type2Message(truncatedMessage)); } @Test @DisplayName("parse should handle OEM encoding") void testParse_OEMEncoding() throws IOException { // Given CIFSContext mockContext = mock(CIFSContext.class); Configuration mockConfig = mock(Configuration.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
} /** * Encodes a wide string pointer in NDR format. * * @param buf the NDR buffer * @param str the string to encode (can be null) * @throws NdrException if encoding fails */ private void encodeWideStringPointer(NdrBuffer buf, String str) throws NdrException { if (str == null || str.isEmpty()) { buf.enc_ndr_long(0); // NULL pointer } else {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
*/ public void setEncodeUrlLink(final boolean encodeUrlLink) { this.encodeUrlLink = encodeUrlLink; } /** * Sets the character encoding for URL links. * * @param urlLinkEncoding the character encoding to use */ public void setUrlLinkEncoding(final String urlLinkEncoding) { this.urlLinkEncoding = urlLinkEncoding; } /**Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java
/** System properties for retrieving configuration information. */ @Resource protected DynamicProperties systemProperties; private static final String[] bugReportLabels = { "file.separator", "file.encoding", "java.runtime.version", "java.vm.info", "java.vm.name", "java.vm.vendor", "java.vm.version", "os.arch", "os.name", "os.version", "user.country", "user.language", "user.timezone" };Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.7K bytes - Viewed (0) -
logger/sql_test.go
package logger_test import ( "database/sql/driver" "encoding/json" "fmt" "regexp" "strings" "testing" "github.com/jinzhu/now" "gorm.io/gorm/logger" ) type JSON json.RawMessage func (j JSON) Value() (driver.Value, error) { if len(j) == 0 { return nil, nil } return json.RawMessage(j).MarshalJSON() } type ExampleStruct struct { Name string Val string }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/bucket-policy.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "encoding/json" "maps" "net/http" "net/url" "strconv" "strings" "time" jsoniter "github.com/json-iterator/go" miniogopolicy "github.com/minio/minio-go/v7/pkg/policy"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
*/ public void setNotificationFilter(int notificationFilter) { this.notificationFilter = notificationFilter; } /** * Get the standard lease size for encoding/decoding * @return the standard lease context size */ protected int getStandardLeaseSize() { // Standard lease V2 size: LeaseKey(16) + LeaseState(4) + Flags(4) + reserved fields return 32;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0)