Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3951 - 3960 of 9,145 for clase (0.12 seconds)

  1. tests/test_inherited_custom_class.py

    import uuid
    
    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class MyUuid:
        def __init__(self, uuid_string: str):
            self.uuid = uuid_string
    
        def __str__(self):
            return self.uuid
    
        @property  # type: ignore
        def __class__(self):
            return uuid.UUID
    
        @property
        def __dict__(self):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. logger/slog.go

    		fields = append(fields, slog.Int64("rows", rows))
    	}
    
    	switch {
    	case err != nil && (!l.IgnoreRecordNotFoundError || !errors.Is(err, ErrRecordNotFound)):
    		fields = append(fields, slog.String("error", err.Error()))
    		l.log(ctx, slog.LevelError, "SQL executed", slog.Attr{
    			Key:   "trace",
    			Value: slog.GroupValue(fields...),
    		})
    
    	case l.SlowThreshold != 0 && elapsed > l.SlowThreshold:
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/pager/UserPager.java

    import java.io.Serializable;
    import java.util.List;
    
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Pager class for handling user list pagination.
     * This class manages pagination state and user search criteria for the user management interface.
     */
    public class UserPager implements Serializable {
    
        /**
         * Default constructor for UserPager.
         */
        public UserPager() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

    import org.mockito.quality.Strictness;
    
    import jcifs.SmbTransport;
    import jcifs.internal.CommonServerMessageBlock;
    
    /**
     * Unit tests for ChannelFailover
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class ChannelFailoverTest {
    
        @Mock
        private ChannelManager mockChannelManager;
    
        @Mock
        private ChannelLoadBalancer mockLoadBalancer;
    
        @Mock
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

    import org.codelibs.fess.util.ResourceUtil;
    
    /**
     * Helper class for managing theme installation and uninstallation.
     * Handles the extraction and deployment of theme files from JAR artifacts.
     */
    public class ThemeHelper {
        private static final Logger logger = LogManager.getLogger(ThemeHelper.class);
    
        /**
         * Default constructor for ThemeHelper.
         */
        public ThemeHelper() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/debugging.md

    `__name__ == "__main__"` の主な目的は、ファイルが次のコマンドで呼び出されたときに実行されるコードを用意することです:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    ただし、次のように、別のファイルからインポートされるときには呼び出されません:
    
    ```Python
    from myapp import app
    ```
    
    #### より詳しい説明
    
    ファイルの名前が `myapp.py` だとします。
    
    以下の様に実行する場合:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

    import java.util.stream.IntStream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Test Java8 map.compute in concurrent cache context. */
    @NullUnmarked
    public class LocalCacheMapComputeTest extends TestCase {
      final int count = 10000;
      final String delimiter = "-";
      final String key = "key";
      Cache<String, String> cache;
    
      // helper
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

    import java.util.Properties;
    
    import org.apache.maven.jline.MessageUtils;
    import org.apache.maven.utils.Os;
    import org.slf4j.Logger;
    
    /**
     * Utility class used to report errors, statistics, application version info, etc.
     *
     */
    @Deprecated
    public final class CLIReportingUtils {
        // CHECKSTYLE_OFF: MagicNumber
        public static final long MB = 1024 * 1024;
    
        private static final long ONE_SECOND = 1000L;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ArrayTable.java

     * iterator remains valid.
     *
     * <p>This class requires less memory than the {@link HashBasedTable} and {@link TreeBasedTable}
     * implementations, except when the table is sparse.
     *
     * <p>Null row keys or column keys are not permitted.
     *
     * <p>This class provides methods involving the underlying array structure, where the array indices
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/SmbTreeHandle.java

         * @return the active configuration
         */
        Configuration getConfig();
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close() throws CIFSException;
    
        /**
         * Checks whether the tree is currently connected
         * @return the tree is connected
         */
        boolean isConnected();
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top