- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 392 for objlock (0.2 sec)
-
internal/once/singleton.go
package once // Singleton contains a pointer to T that must be set once. // Until the value is set all Get() calls will block. type Singleton[T any] struct { v *T set chan struct{} } // NewSingleton creates a new unset singleton. func NewSingleton[T any]() *Singleton[T] { return &Singleton[T]{set: make(chan struct{}), v: nil} } // Get will return the singleton value. func (s *Singleton[T]) Get() *T { <-s.set return s.v
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 952 bytes - Viewed (0) -
src/main/java/jcifs/pac/PacConstants.java
* Flag for resource groups in logon information. */ int LOGON_RESOURCE_GROUPS = 0x200; /** * Kerberos salt type for MD5 checksums. */ int MD5_KRB_SALT = 17; /** * MD5 block length in bytes. */ int MD5_BLOCK_LENGTH = 64;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/WinError.java
* These constants represent standard Windows error codes returned by SMB servers. */ public interface WinError { /* * Don't bother to edit this. Everything within the interface * block is automatically generated from the ntstatus package. */ /** The operation completed successfully */ int ERROR_SUCCESS = 0; /** Access is denied */ int ERROR_ACCESS_DENIED = 5;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/WinError.java
* These constants represent standard Windows error codes returned by SMB servers. */ public interface WinError { /* Don't bother to edit this. Everthing within the interface * block is automatically generated from the ntstatus package. */ /** The operation completed successfully */ int ERROR_SUCCESS = 0; /** Access is denied */ int ERROR_ACCESS_DENIED = 5;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt
/* * Copyright (c) 2022 Block, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Jul 29 12:43:16 UTC 2025 - 1.5K bytes - Viewed (0) -
cmd/xl-storage_noatime_supported.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "os" "syscall" ) var ( // Disallow updating access times // Add non-block to avoid syscall to attempt to set epoll on files. readMode = os.O_RDONLY | 0x40000 | syscall.O_NONBLOCK // O_NOATIME // Write with data sync only used only for `xl.meta` writes
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jul 23 16:36:24 UTC 2024 - 1.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt
/* * Copyright (C) 2023 Block, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
void testDES() throws Exception { // Given byte[] key = "testkey1".getBytes(); // 8 bytes for DES byte[] plaintext = "12345678".getBytes(); // 8 bytes (DES block size) // When Cipher desCipher = Crypto.getDES(key); desCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "DES")); byte[] encrypted = desCipher.doFinal(plaintext);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
internal/grid/connection.go
if err != nil { if !xnet.IsNetworkOrHostDown(err, true) { gridLogIfNot(ctx, fmt.Errorf("ws read: %w", err), net.ErrClosed, io.EOF) } return } block := c.blockMessages.Load() if block != nil && *block != nil { <-*block } if c.incomingBytes != nil { c.incomingBytes(int64(len(msg))) } // Parse the received message var m messageRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 46.9K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
DataBlocks int `json:"data"` // ParityBlocks is the number of parity blocks for erasure-coding ParityBlocks int `json:"parity"` // BlockSize is the size of one erasure-coded block BlockSize int64 `json:"blockSize"` // Index is the index of the current disk Index int `json:"index"` // Distribution is the distribution of the data and parity blocks Distribution []int `json:"distribution"`
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0)