- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 264 for stinky (0.16 sec)
-
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
Sink sink = new Sink(4); sink.putShort((short) 0x0201); HashCode unused = sink.hash(); sink.assertInvariants(2); sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros } public void testInt() { Sink sink = new Sink(4); sink.putInt(0x04030201); HashCode unused = sink.hash(); sink.assertInvariants(4); sink.assertBytes(new byte[] {1, 2, 3, 4}); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 8.5K bytes - Viewed (0) -
src/os/os_unix_test.go
// We have set a umask, but if the parent directory happens to have a default // ACL, the umask may be ignored. To prevent spurious failures from an ACL, // we create a non-sticky directory as a “control case” to compare against our // sticky-bit “experiment”. control := filepath.Join(dir, "control") if err := Mkdir(control, 0755); err != nil { t.Fatal(err) } cfi, err := Stat(control) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:32:43 UTC 2023 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileLocationTest.java
assertEquals("1.2.3.4", fl.getServerWithDfs()); assertEquals("other", fl.getShare()); assertEquals("\\foo\\bar\\", fl.getUNCPath()); // this intentionally sticks to the old name assertEquals("/share/foo/bar/", fl.getURLPath()); } } @Test public void testDfsReferralShareNested () throws MalformedURLException, CIFSException {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Wed Jan 08 13:16:07 UTC 2020 - 23K bytes - Viewed (0) -
src/math/big/nat_test.go
x := natFromString(test.x) if got := x.sticky(test.i); got != test.want { t.Errorf("#%d: %s.sticky(%d) = %v; want %v", i, test.x, test.i, got, test.want) } if test.want == 1 { // all subsequent i's should also return 1 for d := uint(1); d <= 3; d++ { if got := x.sticky(test.i + d); got != 1 { t.Errorf("#%d: %s.sticky(%d) = %v; want %v", i, test.x, test.i+d, got, 1) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 15:29:36 UTC 2024 - 26.2K bytes - Viewed (0) -
src/os/types.go
ModeSetuid = fs.ModeSetuid // u: setuid ModeSetgid = fs.ModeSetgid // g: setgid ModeCharDevice = fs.ModeCharDevice // c: Unix character device, when ModeDevice is set ModeSticky = fs.ModeSticky // t: sticky ModeIrregular = fs.ModeIrregular // ?: non-regular file; nothing else is known about this file // Mask for the type bits. For regular files, none will be set. ModeType = fs.ModeType
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 20:52:06 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/streams/DefaultValueStore.java
File file = file(id); sink = new Sink<>(id, writer, file); sinks.add(sink); return sink; } void releaseSink(Sink<T> sink) { if (!availableSinks.offer(sink)) { try { sink.close(); } catch (IOException e) { throw new UncheckedIOException(e); } } } private File file(int id) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* Arrays.asList("Inky", "Blinky", "Pinky", "Pinky", "Clyde"); * Function<String, Integer> stringLengthFunction = ...; * Multimap<Integer, String> index = * Multimaps.index(badGuys, stringLengthFunction); * System.out.println(index); * }</pre> * * <p>prints * * <pre>{@code * {4=[Inky], 6=[Blinky], 5=[Pinky, Pinky, Clyde]} * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 86.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimaps.java
* Arrays.asList("Inky", "Blinky", "Pinky", "Pinky", "Clyde"); * Function<String, Integer> stringLengthFunction = ...; * Multimap<Integer, String> index = * Multimaps.index(badGuys, stringLengthFunction); * System.out.println(index); * }</pre> * * <p>prints * * <pre>{@code * {4=[Inky], 6=[Blinky], 5=[Pinky, Pinky, Clyde]} * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 86.4K bytes - Viewed (0) -
src/compress/zlib/reader_test.go
} continue } s := b.String() if s != tt.raw { t.Errorf("%s: got %d-byte %q want %d-byte %q", tt.desc, n, s, len(tt.raw), tt.raw) } // Check for sticky errors. if n, err := zr.Read([]byte{0}); n != 0 || err != io.EOF { t.Errorf("%s: Read() = (%d, %v), want (0, io.EOF)", tt.desc, n, err) } if err := zr.Close(); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 30 02:16:17 UTC 2022 - 3.4K bytes - Viewed (0) -
src/strings/builder_test.go
for _, r := range []rune{-1, utf8.MaxRune + 1} { var b Builder b.WriteRune(r) check(t, &b, "\uFFFD") } } var someBytes = []byte("some bytes sdljlk jsklj3lkjlk djlkjw") var sinkS string func benchmarkBuilder(b *testing.B, f func(b *testing.B, numWrite int, grow bool)) { b.Run("1Write_NoGrow", func(b *testing.B) { b.ReportAllocs() f(b, 1, false) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 19:51:15 UTC 2024 - 8.1K bytes - Viewed (0)