- Sort Score
- Num 10 results
- Language All
Results 1451 - 1460 of 2,073 for sset (0.28 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/sftp-server_test.go
defer cancel() accessKey, secretKey := mustGenerateCredentials(c) err := s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled) if err != nil { c.Fatalf("Unable to set user: %v", err) } userReq := madmin.PolicyAssociationReq{ Policies: []string{"readwrite"}, User: accessKey, } if _, err := s.adm.AttachPolicy(ctx, userReq); err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Feb 27 18:43:32 GMT 2025 - 9.7K bytes - Click Count (0) -
internal/lock/lock_windows.go
if flag == syscall.O_RDONLY { // https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-lockfileex //lint:ignore SA4016 Reasons lockType = lockFileFailImmediately // Set this to enable shared lock and fail immediately. } return lockedOpenFile(path, flag, perm, lockType) } // LockedOpenFile - initializes a new lock and protects // the file from concurrent access.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.9K bytes - Click Count (0) -
build-logic/src/main/kotlin/Osgi.kt
fun Project.applyOsgiMultiplatform(vararg bndProperties: String) { // BND is incompatible with Kotlin/Multiplatform because it assumes the JVM source set's // name is // 'main'. Work around this by creating a 'main' source set that forwards to 'jvmMain'. // // The forwarding SourceSet also needs to fake out some task names to prevent them from // being // registered twice. // // https://github.com/bndtools/bnd/issues/6590
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 09:17:33 GMT 2026 - 3.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java
assertEquals(20, counter.getCount()); } public void testMarkNotSet() { IOException expected = assertThrows(IOException.class, () -> counter.reset()); assertThat(expected).hasMessageThat().isEqualTo("Mark not set"); } public void testMarkNotSupported() { counter = new CountingInputStream(new UnmarkableInputStream()); IOException expected = assertThrows(IOException.class, () -> counter.reset());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FlushablesTest.java
// make sure that no exception is thrown by flushQuietly when the mock does // throw an exception on flush. setupFlushable(true); Flushables.flushQuietly(mockFlushable); } // Set up a flushable to expect to be flushed, and optionally to // throw an exception. private void setupFlushable(boolean shouldThrowOnFlush) throws IOException { mockFlushable = mock(Flushable.class);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractIndexedListIterator.java
/** * This class provides a skeletal implementation of the {@link ListIterator} interface across a * fixed number of elements that may be retrieved by position. It does not support {@link #remove}, * {@link #set}, or {@link #add}. * * @author Jared Levy */ @GwtCompatible abstract class AbstractIndexedListIterator<E extends @Nullable Object> extends UnmodifiableListIterator<E> { private final int size;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileRenameInformation2.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * File System Control Code (FSCC) structure for File Rename Information. * Used in SMB2/SMB3 set file information operations to rename files or directories, * with support for specifying whether to replace existing files with the same name. * * @author mbechler */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComClose.java
/** * Creates a new SMB1 close file request. * * @param config the CIFS configuration * @param fid the file identifier to close * @param lastWriteTime the last write time to set on the file */ public SmbComClose(final Configuration config, final int fid, final long lastWriteTime) { super(config, SMB_COM_CLOSE); this.fid = fid; this.lastWriteTime = lastWriteTime;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
import java.nio.charset.StandardCharsets; import org.junit.jupiter.api.Test; class AvTargetNameTest { /** * Test constructor with raw bytes. * Verifies that the AvPair type is correctly set and raw bytes are stored. */ @Test void testConstructorWithRawBytes() { byte[] rawBytes = "TEST_TARGET_NAME".getBytes(StandardCharsets.UTF_16LE);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
* Test for the constructor of {@link Trans2SetFileInformationResponse}. * It should initialize the subCommand correctly. */ @Test void testConstructor() { // Verify that the subCommand is set to TRANS2_SET_FILE_INFORMATION assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, response.subCommand, "The subCommand should be initialized to TRANS2_SET_FILE_INFORMATION."); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.8K bytes - Click Count (0)