Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1241 - 1250 of 8,559 for class1 (0.07 sec)

  1. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            // Use a fresh context to avoid affecting previous tests
            CIFSContext ctx2 = mock(CIFSContext.class);
            Configuration config2 = mock(Configuration.class);
            Credentials creds2 = mock(Credentials.class);
            NameServiceClient nsc2 = mock(NameServiceClient.class);
            when(ctx2.getConfig()).thenReturn(config2);
            when(ctx2.getCredentials()).thenReturn(creds2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. tests/test_validate_response_recursive/app.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class RecursiveItem(BaseModel):
        sub_items: list["RecursiveItem"] = []
        name: str
    
    
    class RecursiveSubitemInSubmodel(BaseModel):
        sub_items2: list["RecursiveItemViaSubmodel"] = []
        name: str
    
    
    class RecursiveItemViaSubmodel(BaseModel):
        sub_items1: list[RecursiveSubitemInSubmodel] = []
        name: str
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

            check(!closed) { "ApiTypeProvider closed!" }
            return action()
        }
    
        internal
        class Context(
            private val typeProvider: ApiTypeProvider,
        ) {
            fun type(sourceName: String): ApiType? =
                typeProvider.type(sourceName)
        }
    }
    
    
    class ApiType internal constructor(
        private val asmLevel: Int,
        private val incubatingAnnotationTypeDescriptor: String,
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Mar 12 15:56:18 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                byte[] buffer = new byte[100];
                when(request.encode(any(byte[].class), anyInt())).thenThrow(new RuntimeException("Test error"));
    
                assertThrows(RuntimeException.class, () -> request.encode(buffer, 0));
            }
        }
    
        @Nested
        @DisplayName("Test Implementation Tests")
        class TestImplementationTests {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

    @Suppress("NAME_SHADOWING")
    class Http2Writer(
      private val sink: BufferedSink,
      private val client: Boolean,
    ) : Closeable,
      Lockable {
      private val hpackBuffer: Buffer = Buffer()
      private var maxFrameSize: Int = INITIAL_MAX_FRAME_SIZE
      private var closed: Boolean = false
      val hpackWriter: Hpack.Writer = Hpack.Writer(out = hpackBuffer)
    
      @Throws(IOException::class)
      fun connectionPreface() {
        withLock {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt

    import org.junit.Test
    
    abstract class AbstractJavaNullabilityChangesTest : AbstractBinaryCompatibilityTest() {
    
        protected abstract val nullableAnnotationName: String
    
        @Test
        fun `from non-null returning to null returning is breaking`() {
    
            checkNotBinaryCompatibleJava(
                v1 = """
                    public class Source {
                        public String nonFinalField = "some";
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Feb 04 09:55:47 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

        result = 31 * result + extensions.hashCode()
        return result
      }
    }
    
    internal data class AlgorithmIdentifier(
      /** An OID string like "1.2.840.113549.1.1.11" for sha256WithRSAEncryption. */
      val algorithm: String,
      /** Parameters of a type implied by [algorithm]. */
      val parameters: Any?,
    )
    
    internal data class AttributeTypeAndValue(
      /** An OID string like "2.5.4.11" for organizationalUnitName. */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

                })
            }
    
            @Throws(IOException::class)
            private
            fun processEntry(zipEntry: ZipEntry, builder: Trie.Builder) {
                val name = zipEntry.name
                if (name.endsWith(".class")) {
                    processClassFile(zipEntry, builder)
                }
            }
    
            @Throws(IOException::class)
            private
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Apr 11 15:53:18 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    ProjectBuildingException.class,
                    () -> buildPom("unique-repo-id/artifact-repo"),
                    "Non-unique repository ids did not cause validation error");
        }
    
        /* MNG-4193 */
        @Test
        void testValidationErrorUponNonUniquePluginRepositoryId() throws Exception {
            assertThrows(
                    ProjectBuildingException.class,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/testing-database.md

    There's a mini <a href="https://sqlmodel.tiangolo.com/tutorial/fastapi/" class="external-link" target="_blank">tutorial on using SQLModel with FastAPI</a>. ✨
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 540 bytes
    - Viewed (0)
Back to top