- Sort Score
- Num 10 results
- Language All
Results 651 - 660 of 1,149 for lock (0.06 seconds)
-
internal/ioutil/ioutil.go
"github.com/minio/minio/internal/bpool" "github.com/minio/minio/internal/disk" ) // Block sizes constant. const ( SmallBlock = 32 * humanize.KiByte // Default r/w block size for smaller objects. MediumBlock = 128 * humanize.KiByte // Default r/w block size for medium sized objects. LargeBlock = 1 * humanize.MiByte // Default r/w block size for normal objects. ) // AlignedBytePool is a pool of fixed size aligned blocks
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java
* @param batchMaxSize The maximum batch size delegate should receive (default {@code 500}). * @param blockOnLastEvent Should this listener block on last transfer end (completed or corrupted) block? (default {@code true}). */ public SimplexTransferListener( TransferListener delegate, int queueSize, int batchMaxSize, boolean blockOnLastEvent) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Feb 06 11:28:05 GMT 2025 - 8.7K bytes - Click Count (0) -
src/archive/tar/writer.go
sa.IsExtended()[0] = 1 } return sp } sp2 := formatSPD(spd, blk.GNU().Sparse()) for len(sp2) > 0 { var spHdr block sp2 = formatSPD(sp2, spHdr.Sparse()) spb = append(spb, spHdr[:]...) } // Update size fields in the header block. realSize := hdr.Size hdr.Size = 0 // Encoded size; does not account for encoded sparse map for _, s := range spd { hdr.Size += s.Length
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Feb 03 16:38:43 GMT 2025 - 19.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
private byte[] testMachineId = new byte[16]; private byte[] testSalt = new byte[32]; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); mockContext = mock(CIFSContext.class); mockRandom = mock(SecureRandom.class); // Initialize test data for (int i = 0; i < 16; i++) { testMachineId[i] = (byte) (i + 1); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
internal/disk/stat_linux.go
// e.g. if the mount is based on /dev/nvme0n1p1, let's calculate the // real device name (nvme0n1) to get its sysfs information parentDevPath, e := os.Readlink("/sys/class/block/" + devName) if e == nil { parentDev := filepath.Base(filepath.Dir(parentDevPath)) qst, err = bfs.SysBlockDeviceQueueStats(parentDev) } } if err == nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
import static org.mockito.Mockito.mock; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; /** * Test class for TransWaitNamedPipeResponse */ class TransWaitNamedPipeResponseTest { @Mock private Configuration mockConfig;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
} } /** * Constructs an AndX message block with configuration and command * @param config the configuration * @param command the SMB command */ protected AndXServerMessageBlock(final Configuration config, final byte command) { this(config, command, null); } /** * Constructs an AndX message block with command and chained command * @param config the configurationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for SmbAuthException covering all constructors and inherited behavior. */ @ExtendWith(MockitoExtension.class)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/SimplexTransferListenerTest.java
TransferResource resource = new TransferResource(null, null, "http://maven.org/test/test-resource", null, null); RepositorySystemSession session = Mockito.mock(RepositorySystemSession.class); TransferListener delegate = Mockito.mock(TransferListener.class); try (SimplexTransferListener listener = new SimplexTransferListener(delegate)) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Feb 06 11:28:05 GMT 2025 - 5.1K bytes - Click Count (0) -
.github/workflows/ci.yml
- name: 'Set up JDKs' uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 with: # For discussion, see the first setup-java block. # The publish-snapshot workflow doesn't run tests, so we don't have to care which version Maven would select for that step. java-version: 25 distribution: 'temurin' cache: 'maven'
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 22:02:44 GMT 2026 - 4.6K bytes - Click Count (0)