Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2711 - 2720 of 9,145 for clase (0.22 seconds)

  1. src/test/java/jcifs/util/ByteEncodableTest.java

    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import org.junit.jupiter.api.Test;
    
    class ByteEncodableTest {
    
        @Test
        void testConstructorAndSize() {
            // Test with a basic byte array
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/HexdumpTest.java

            // When/Then
            assertThrows(IndexOutOfBoundsException.class, () -> {
                Hexdump.toHexString(data, -1, 16);
            });
    
            assertThrows(IndexOutOfBoundsException.class, () -> {
                Hexdump.toHexString(data, 0, data.length + 1);
            });
    
            assertThrows(IndexOutOfBoundsException.class, () -> {
                Hexdump.toHexString(data, 16, 32); // offset + length > data.length
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Unit tests for {@link SmbComSeekResponse}.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("SmbComSeekResponse tests")
    class SmbComSeekResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private SmbComSeekResponse response;
    
        @BeforeEach
        void setUp() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            _ * superType.classProperties >> [inheritedPropertyC]
        }
    
        def classMetaData(String name = 'org.gradle.Class') {
            ClassMetaData classMetaData = Mock()
            _ * classMetaData.className >> name
            return classMetaData
        }
    
        def classDoc(String name = 'org.gradle.Class') {
            ClassDoc doc = Mock()
            _ * doc.name >> name
            _ * doc.toString() >> "ClassDoc '$name'"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java

        /**
         * Sets up the class realm for the specified plugin. Both the class realm and the plugin artifacts that constitute
         * it will be stored in the plugin descriptor.
         *
         * @param pluginDescriptor The plugin descriptor in which to save the class realm and the plugin artifacts, must not
         *            be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  6. cmd/untar.go

    	switch f := detect(bf); f {
    	case formatGzip:
    		gz, err := gzip.NewReader(bf)
    		if err != nil {
    			return err
    		}
    		defer gz.Close()
    		r = gz
    	case formatS2:
    		r = s2.NewReader(bf)
    	case formatZstd:
    		// Limit to 16 MiB per stream.
    		dec, err := zstd.NewReader(bf, zstd.WithDecoderMaxWindow(16<<20))
    		if err != nil {
    			return err
    		}
    		defer dec.Close()
    		r = dec
    	case formatBZ2:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 6K bytes
    - Click Count (2)
  7. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            }
        }
    }
    
    
    abstract class DependencyAdditionRule @Inject constructor(
        private val coordinates: String
    ) : ComponentMetadataRule {
        override fun execute(context: ComponentMetadataContext) {
            context.details.allVariants {
                withDependencies {
                    add(coordinates)
                }
            }
        }
    }
    
    
    abstract class DependencyRemovalByGroupRule @Inject constructor(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jul 18 11:32:19 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.spnego.NegTokenInit;
    
    @ExtendWith(MockitoExtension.class)
    class Kerb5AuthenticatorTest {
    
        @Mock
        CIFSContext tc;
    
        @Mock
        Configuration config;
    
        private static byte[] spnegoInitWithMechs(ASN1ObjectIdentifier... mechs) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. okhttp-urlconnection/api/okhttp-urlconnection.api

    public final class okhttp3/JavaNetAuthenticator : okhttp3/Authenticator {
    	public fun <init> ()V
    	public fun authenticate (Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request;
    }
    
    public final class okhttp3/JavaNetCookieJar : okhttp3/CookieJar {
    	public fun <init> (Ljava/net/CookieHandler;)V
    	public fun loadForRequest (Lokhttp3/HttpUrl;)Ljava/util/List;
    	public fun saveFromResponse (Lokhttp3/HttpUrl;Ljava/util/List;)V
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Feb 26 19:17:33 GMT 2022
    - 423 bytes
    - Click Count (0)
  10. src/test/java/jcifs/EncodableTest.java

    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    
    import jcifs.util.ByteEncodable;
    
    @DisplayName("Encodable contract tests using ByteEncodable")
    class EncodableTest {
    
        // Generates a few representative slices and destination indices.
        static Stream<Arguments> byteEncodableArgs() {
            return Stream.of(
                    // srcLen, off, len, dstIndex
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top