- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for sumHolder (0.07 sec)
-
guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
} @Benchmark int arrayListForWithHolder(int reps) { int[] sumHolder = {0}; for (int i = 0; i < reps; i++) { for (Object value : arrayList) { sumHolder[0] += value.hashCode(); } } return sumHolder[0]; } @Benchmark int arrayListForEachWithHolder(int reps) { int[] sumHolder = {0}; for (int i = 0; i < reps; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.1K bytes - Viewed (0) -
src/archive/zip/writer_test.go
{Name: "subfolder/another.go", Data: []byte("world"), Mode: 0644}, // Notably missing here is the "subfolder" directory. This makes sure even // if we don't have a subfolder directory listed. } err := w.AddFS(writeTestsToFS(tests)) if err != nil { t.Fatal(err) } if err := w.Close(); err != nil { t.Fatal(err) } // Add subfolder into fsys to match what we'll read from the tar.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 14.4K bytes - Viewed (0) -
src/archive/tar/writer_test.go
fsys := fstest.MapFS{ "emptyfolder": {Mode: 0o755 | os.ModeDir}, "file.go": {Data: []byte("hello")}, "subfolder/another.go": {Data: []byte("world")}, // Notably missing here is the "subfolder" directory. This makes sure even // if we don't have a subfolder directory listed. } var buf bytes.Buffer tw := NewWriter(&buf) if err := tw.AddFS(fsys); err != nil { t.Fatal(err) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 39.4K bytes - Viewed (0) -
src/main/java/jcifs/ACE.java
* * @return the access mask */ int getAccessMask (); /** * Returns the 'Apply To' text for inheritance of ACEs on * directories such as 'This folder, subfolder and files'. For * files the text is always 'This object only'. * * @return descriptive text for the ACE scope */ String getApplyToText (); /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
*/ public int getFlags() { return flags; } /** * Returns the 'Apply To' text for inheritance of ACEs on * directories such as 'This folder, subfolder and files'. For * files the text is always 'This object only'. */ public String getApplyToText() { switch (flags & (FLAGS_OBJECT_INHERIT | FLAGS_CONTAINER_INHERIT | FLAGS_INHERIT_ONLY)) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7.2K bytes - Viewed (0)