- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for prependTo (0.11 sec)
-
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); Prepender prepender = delegate.invoke(null, "a", 1); assertEquals("a", prepender.prefix); assertEquals(1, prepender.times); } public void testConstructor_returning() throws Exception { Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class).returning(Prepender.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); Prepender prepender = delegate.invoke(null, "a", 1); assertEquals("a", prepender.prefix); assertEquals(1, prepender.times); } public void testConstructor_returning() throws Exception { Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class).returning(Prepender.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java
addCssToHead(document); addJavascriptToHead(document); wrapH2InSectionTopic(document); addAnchorsForHeadings(document); document.body().prepend("<h1>Gradle Release Notes</h1>"); addTOC(document); wrapContentInContainer(document); String rewritten = document.body().html(); // Turn Gradle Jira issue numbers into issue links
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 03 05:02:20 UTC 2024 - 9.9K bytes - Viewed (0) -
tests/scanner_valuer_test.go
} func (data EncryptedData) Value() (driver.Value, error) { if len(data) > 0 && data[0] == 'x' { // needed to test failures return nil, errors.New("Should not start with 'x'") } // prepend asterisks return append([]byte("***"), data...), nil } type Num int64 func (i *Num) Scan(src interface{}) error { switch s := src.(type) { case []byte: n, _ := strconv.Atoi(string(s))
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
out.writeObject(original); byte[] handle = toByteArray(baseWireHandle + handleOffset); byte[] ref = prepended(TC_REFERENCE, handle); bos.write(ref); return bos.toByteArray(); } private static byte[] prepended(byte b, byte[] array) { byte[] out = new byte[array.length + 1]; out[0] = b; arraycopy(array, 0, out, 1, array.length); return out;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
ImmutableMapEntry<K, V> effectiveEntry = checkNoConflictInKeyBucket(key, value, keyBucketHead, throwIfDuplicateKeys); if (effectiveEntry == null) { // prepend, not append, so the entries can be immutable effectiveEntry = (keyBucketHead == null) ? makeImmutable(entry, key, value)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 16.2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Invokable.java
} /** * {@inheritDoc} * * <p>{@code [<E>]} will be returned for ArrayList's constructor. When both the class and the * constructor have type parameters, the class parameters are prepended before those of the * constructor's. This is an arbitrary rule since no existing language spec mandates one way or * the other. From the declaration syntax, the class type parameter appears first, but the call
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 19.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
LockGraphNode preAcquiredLock = entry.getKey(); found = preAcquiredLock.findPathTo(node, seen); if (found != null) { // One of this node's allowedPriorLocks found a path. Prepend an // ExampleStackTrace(preAcquiredLock, this) to the returned chain of // ExampleStackTraces. ExampleStackTrace path = new ExampleStackTrace(preAcquiredLock, this);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 35.9K bytes - Viewed (0) -
cmd/object-api-utils.go
if s == "" { return s } return strings.TrimSuffix(s, SlashSeparator) + SlashSeparator } // pathsJoinPrefix - like pathJoin retains trailing SlashSeparator // for all elements, prepends them with 'prefix' respectively. func pathsJoinPrefix(prefix string, elem ...string) (paths []string) { paths = make([]string, len(elem)) for i, e := range elem { paths[i] = pathJoin(prefix, e) } return paths
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 37.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
} default: p.errorf("register extension not supported on this architecture") } } // qualifySymbol returns name as a package-qualified symbol name. If // name starts with a period, qualifySymbol prepends the package // prefix. Otherwise it returns name unchanged. func (p *Parser) qualifySymbol(name string) string { if strings.HasPrefix(name, ".") { name = p.pkgPrefix + name } return name }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 36.9K bytes - Viewed (0)