- Sort Score
- Result 10 results
- Languages All
Results 881 - 890 of 1,521 for cases (0.08 sec)
-
guava/src/com/google/common/collect/ImmutableEnumMap.java
final class ImmutableEnumMap<K extends Enum<K>, V> extends IteratorBasedImmutableMap<K, V> { static <K extends Enum<K>, V> ImmutableMap<K, V> asImmutable(EnumMap<K, V> map) { switch (map.size()) { case 0: return ImmutableMap.of(); case 1: Entry<K, V> entry = getOnlyElement(map.entrySet()); return ImmutableMap.of(entry.getKey(), entry.getValue()); default: return new ImmutableEnumMap<>(map); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java
* @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public interface ModelLocator { /** * Locates the POM file within the specified project directory. In case the given project directory does not exist * or does not contain a POM file, the return value indicates the expected path to the POM file. Subdirectories of
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/lock-rest-client.go
r, err := h.Call(ctx, c.connection, args) if err != nil { return false, err } defer h.PutResponse(r) ok = r.Code == dsync.RespOK switch r.Code { case dsync.RespLockConflict, dsync.RespLockNotFound, dsync.RespOK: // no error case dsync.RespLockNotInitialized: err = errLockNotInitialized default: err = errors.New(r.Err) } return ok, err } // RLock calls read lock REST API.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
if (obj == null) { enc_ndr_long(0); return; } switch (type) { case 1: /* unique */ case 3: /* ref */ enc_ndr_long(System.identityHashCode(obj)); return; case 2: /* ptr */ enc_ndr_long(getDceReferent(obj)); return; } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 6.1K bytes - Viewed (0) -
cmd/metrics-v3-types.go
func (mt MetricType) String() string { switch mt { case CounterMT: return "counter" case GaugeMT: return "gauge" case HistogramMT: return "histogram" default: return "*unknown*" } } func (mt MetricType) toProm() prometheus.ValueType { switch mt { case CounterMT: return prometheus.CounterValue case GaugeMT: return prometheus.GaugeValue case HistogramMT: return prometheus.CounterValue
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 30 22:28:46 UTC 2024 - 15.6K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
testInheritance("no-append-urls"); } /** * MNG-5951 special case test: inherit with partial override * @throws Exception */ @Test void testNoAppendUrls2() throws Exception { testInheritance("no-append-urls2"); } /** * MNG-5951 special case test: child.x.y.inherit.append.path="true" in child should not reset content * @throws Exception
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.9K bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
func getDefaultCNINetwork(confDir string) (string, error) { files, err := libcni.ConfFiles(confDir, []string{".conf", ".conflist"}) switch { case err != nil: return "", err case len(files) == 0: return "", fmt.Errorf("no networks found in %s", confDir) } sort.Strings(files) for _, confFile := range files { var confList *libcni.NetworkConfigList
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java
return 2; } int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) { switch( informationLevel ) { case SMB_QUERY_FILE_BASIC_INFO: return readSmbQueryFileBasicInfoWireFormat( buffer, bufferIndex ); case SMB_QUERY_FILE_STANDARD_INFO: return readSmbQueryFileStandardInfoWireFormat( buffer, bufferIndex ); default: return 0;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
// from other methods return ans; } break; case RESOLVER_WINS: case RESOLVER_BCAST: if ( resolverType == ResolverType.RESOLVER_WINS && name.name != NbtAddress.MASTER_BROWSER_NAME && name.hexCode != 0x1d ) { request.addr = getWINSAddress();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 14 14:26:22 UTC 2022 - 38.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedGraphConnections.java
} static <N, V> UndirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) { switch (incidentEdgeOrder.type()) { case UNORDERED: return new UndirectedGraphConnections<>( new HashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR)); case STABLE: return new UndirectedGraphConnections<>( new LinkedHashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR)); default:
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 3.3K bytes - Viewed (0)