Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 663 for store (0.15 sec)

  1. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            PropertiesUtil.store(outProperties, outputStream, "comments");
            CloseableUtil.close(outputStream);
            final Properties properties = new Properties();
            PropertiesUtil.load(properties, file);
            assertThat(properties.getProperty("a"), is("A"));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.io.PropertiesUtil#store(Properties, java.io.Writer, String)}
         * .
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. gorm.go

    	tx = db.getInstance()
    	return tx.Session(&Session{
    		Logger: db.Logger.LogMode(logger.Info),
    	})
    }
    
    // Set store value with key into current db instance's context
    func (db *DB) Set(key string, value interface{}) *DB {
    	tx := db.getInstance()
    	tx.Statement.Settings.Store(key, value)
    	return tx
    }
    
    // Get get value with key from current db instance's context
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * @param maxSize the maximum number of bytes this cache should use to store.
     */
    class DiskLruCache(
      fileSystem: FileSystem,
      /** Returns the directory where this cache stores its data. */
      val directory: Path,
      private val appVersion: Int,
      internal val valueCount: Int,
      /** Returns the maximum number of bytes that this cache should use to store its data. */
      maxSize: Long,
      /** Used for asynchronous journal rebuilds. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  4. internal/event/targetlist.go

    // Target - event target interface
    type Target interface {
    	ID() TargetID
    	IsActive() (bool, error)
    	Save(Event) error
    	SendFromStore(store.Key) error
    	Close() error
    	Store() TargetStore
    }
    
    // TargetStore is a shallow version of a target.Store
    type TargetStore interface {
    	Len() int
    }
    
    // Stats is a collection of stats for multiple targets.
    type Stats struct {
    	TotalEvents        int64 // Deprecated
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  5. tests/test_datastructures.py

    def test_upload_file_is_closed(tmp_path: Path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        app = FastAPI()
    
        testing_file_store: List[UploadFile] = []
    
        @app.post("/uploadfile/")
        def create_upload_file(file: UploadFile):
            testing_file_store.append(file)
            return {"filename": file.filename}
    
        client = TestClient(app)
        with path.open("rb") as file:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Oct 18 12:36:40 GMT 2023
    - 2K bytes
    - Viewed (0)
  6. src/archive/zip/register.go

    )
    
    func init() {
    	compressors.Store(Store, Compressor(func(w io.Writer) (io.WriteCloser, error) { return &nopCloser{w}, nil }))
    	compressors.Store(Deflate, Compressor(func(w io.Writer) (io.WriteCloser, error) { return newFlateWriter(w), nil }))
    
    	decompressors.Store(Store, Decompressor(io.NopCloser))
    	decompressors.Store(Deflate, Decompressor(newFlateReader))
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. .gitignore

    # OSX leaves these everywhere on SMB shares
    ._*
    
    # OSX trash
    .DS_Store
    
    # Developers can store local stuff in dirs named __something
    __*
    
    # Eclipse files
    .classpath
    .project
    .settings/**
    
    # Files generated by JetBrains IDEs, e.g. IntelliJ IDEA
    .idea/
    *.iml
    
    # Vscode files
    .vscode
    
    # This is where the result of the go build goes
    /output*/
    /_output*/
    /_output
    
    # Emacs save files
    *~
    \#*\#
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu Feb 29 08:22:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

    /**
     * Contains metadata about an artifact, and methods to retrieve/store it from an artifact repository.
     * TODO merge with artifactmetadatasource
     * TODO retrieval exception not appropriate for store
     *
     */
    public interface ArtifactMetadata {
        /**
         * Whether this metadata should be stored alongside the artifact.
         *
         * @return whether this metadata should be stored alongside the artifact
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

                    .map { idx -> (versions.item(idx) as Element).textContent }
                    .reversed()
            }
    
    
    internal
    fun Properties.store(file: java.io.File, comment: String? = null) {
        PropertiesUtils.store(this, file, comment, Charsets.ISO_8859_1, "\n")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jun 02 09:17:07 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            Artifact artifact = pluginHelper.getArtifactFromFileName(ArtifactType.DATA_STORE, "fess-ds-atlassian-13.2.0.jar");
            assertEquals("fess-ds-atlassian", artifact.getName());
            assertEquals("13.2.0", artifact.getVersion());
        }
    
        public void test_getArtifactFromFileName2() {
            Artifact artifact = pluginHelper.getArtifactFromFileName(ArtifactType.DATA_STORE, "fess-ds-atlassian-13.2.1-20190708.212247-1.jar");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.9K bytes
    - Viewed (0)
Back to top