Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 459 for Cache (0.04 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         * @see Optional
         * @see HashMap#computeIfAbsent(Object, Function)
         */
        static UnaryOperator<String> memoize(UnaryOperator<String> callback) {
            Map<String, Optional<String>> cache = new HashMap<>();
            return s -> cache.computeIfAbsent(s, v -> Optional.ofNullable(callback.apply(v)))
                    .orElse(null);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jan 13 16:14:35 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/cache/LongAddables.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.atomic.LongAdder;
    
    /**
     * Source of {@link LongAddable} objects that deals with GWT and all that.
     *
     * @author Louis Wasserman
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/IgnoreJRERequirement.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.cache;
    
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jul 02 18:21:28 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  4. cmd/metacache-set.go

    	// Create indicates that the lister should not attempt to load an existing cache.
    	Create bool
    
    	// Include pure directories.
    	IncludeDirectories bool
    
    	// Transient is set if the cache is transient due to an error or being a reserved bucket.
    	// This means the cache metadata will not be persisted on disk.
    	// A transient result will never be returned from the cache so knowing the list id is required.
    	Transient bool
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/RemovalNotificationTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests of {@link RemovalNotification}.
     *
     * @author Ben Yu
     */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  6. .github/workflows/smokeshow.yml

          - uses: actions/checkout@v6
          - uses: actions/setup-python@v6
            with:
              python-version: '3.13'
          - name: Setup uv
            uses: astral-sh/setup-uv@v7
            with:
              cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
          - run: uv pip install -r requirements-github-actions.txt
          - uses: actions/download-artifact@v6
            with:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 17:36:42 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. .gitignore

    .DS_Store
    *.[56789ao]
    *.a[56789o]
    *.so
    *.pyc
    ._*
    .nfs.*
    [56789a].out
    *~
    *.orig
    *.rej
    *.exe
    .*.swp
    core
    *.cgo*.go
    *.cgo*.c
    _cgo_*
    _obj
    _test
    _testmain.go
    
    /VERSION.cache
    /bin/
    /build.out
    /doc/articles/wiki/*.bin
    /goinstall.log
    /last-change
    /misc/cgo/life/run.out
    /misc/cgo/stdio/run.out
    /misc/cgo/testso/main
    /pkg/
    /src/*.*/
    /src/_artifacts/
    /src/cmd/cgo/zdefaultcc.go
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Nov 10 20:41:03 GMT 2025
    - 975 bytes
    - Click Count (0)
  8. tests/test_tutorial/test_extending_openapi/test_tutorial001.py

                        "operationId": "read_items_items__get",
                    }
                }
            },
        }
        openapi_schema = response.json()
        # Request again to test the custom cache
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. internal/disk/directio_unix.go

    	"os"
    	"syscall"
    
    	"github.com/ncw/directio"
    	"golang.org/x/sys/unix"
    )
    
    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO - disables directio mode.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Jun 17 14:31:36 GMT 2023
    - 1.6K bytes
    - Click Count (0)
  10. cmd/bucket-stats.go

    	return len(brs.Stats) == 0 && brs.ReplicaSize == 0
    }
    
    // Clone creates a new BucketReplicationStats copy
    func (brs BucketReplicationStats) Clone() (c BucketReplicationStats) {
    	// This is called only by replicationStats cache and already holds a
    	// read lock before calling Clone()
    
    	c = brs
    	// We need to copy the map, so we do not reference the one in `brs`.
    	c.Stats = make(map[string]*BucketReplicationStat, len(brs.Stats))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top