- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 4,342 for switch (0.12 sec)
-
cmd/update_test.go
} for _, testCase := range testCases { u, err := url.Parse(testCase.releaseChecksumURL) if err != nil { t.Fatal(err) } result, err := downloadReleaseURL(u, 1*time.Second, "") switch { case testCase.expectedErr == nil: if err != nil { t.Fatalf("error: expected: %v, got: %v", testCase.expectedErr, err) } case err == nil:Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
rpc.names.names = new lsarpc.LsarTranslatedName[1]; rpc.names.names[0] = new lsarpc.LsarTranslatedName(); rpc.names.names[0].sid_type = (short) jcifs.SID.SID_TYPE_UNKNOWN; // not in switch list rpc.names.names[0].name = new UnicodeString("unknown", false); rpc.names.names[0].sid_index = 0; return null; }).when(handle).sendrecv(any());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
apache-maven/src/assembly/maven/conf/settings.xml
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 22 07:44:50 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java
* Gets a group entity based on the form. * * @param form the create form * @return optional group entity */ private static OptionalEntity<Group> getEntity(final CreateForm form) { switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new Group()).map(entity -> { entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 16K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java
// ============ private static OptionalEntity<RelatedQuery> getEntity(final CreateForm form, final String username, final long currentTime) { switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new RelatedQuery()).map(entity -> { entity.setCreatedBy(username); entity.setCreatedTime(currentTime);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 16.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* @since 14.0 */ // TODO: Switch to JUnit 4 and use @Parameterized and @BeforeClass // Note: @Test annotations are deliberate, as some subclasses specify @RunWith(JUnit4). @GwtIncompatible @J2ktIncompatible @J2ObjCIncompatible // com.google.common.reflect.ClassPath public abstract class AbstractPackageSanityTests extends TestCase { /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* existing users, but it can't *fix* existing users because any users who needed * `Function<@Nullable A, @Nullable B>` already had to find a workaround. Still, there is a *ton* of * fallout from trying to switch. I would be shocked if the switch would offer benefits to anywhere * near enough users to justify the costs. * * Fortunately, if anyone does want to use a Converter as a `Function<@Nullable A, @Nullable B>`,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
} private void handleWitnessEvent(WitnessNotification notification) { log.info("Handling witness event: {} for resource: {}", notification.getEventType(), notification.getResourceName()); switch (notification.getEventType()) { case RESOURCE_CHANGE: handleResourceChange(notification); break; case CLIENT_MOVE: handleClientMove(notification);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
cmd/signature-v2.go
for _, query := range unescapedQueries { keyval := strings.SplitN(query, "=", 2) if len(keyval) != 2 { return ErrInvalidQueryParams } switch keyval[0] { case xhttp.AmzAccessKeyID: accessKey = keyval[1] case xhttp.AmzSignatureV2: gotSignature = keyval[1] case xhttp.Expires: expires = keyval[1] default:Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java
// ============ private static OptionalEntity<BadWord> getEntity(final CreateForm form, final String username, final long currentTime) { switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new BadWord()).map(entity -> { entity.setCreatedBy(username); entity.setCreatedTime(currentTime);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 17.9K bytes - Viewed (0)