- Sort Score
- Result 10 results
- Languages All
Results 641 - 650 of 1,494 for case1 (0.05 sec)
-
cmd/dummy-data-generator_test.go
} func (d *DummyDataGen) Seek(offset int64, whence int) (int64, error) { switch whence { case io.SeekStart: if offset < 0 { return 0, errors.New("Invalid offset") } d.idx = offset case io.SeekCurrent: if d.idx+offset < 0 { return 0, errors.New("Invalid offset") } d.idx += offset case io.SeekEnd: if d.length+offset < 0 { return 0, errors.New("Invalid offset") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 02 15:13:05 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ReaderInputStream.java
return bigger; } /** Handle the case of underflow caused by needing more input characters. */ private void readMoreChars() throws IOException { // Possibilities: // 1) array has space available on right-hand side (between limit and capacity) // 2) array has space available on left-hand side (before position) // 3) array has no space available //
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/io/ReaderInputStream.java
return bigger; } /** Handle the case of underflow caused by needing more input characters. */ private void readMoreChars() throws IOException { // Possibilities: // 1) array has space available on right-hand side (between limit and capacity) // 2) array has space available on left-hand side (before position) // 3) array has no space available //
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 9.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
retValue = decode(retValue); // special case: if omitted // on protocol, keep path as is if (retValue.startsWith("//")) { retValue = retValue.substring(2); if (retValue.length() >= 2 && (retValue.charAt(1) == '|' || retValue.charAt(1) == ':')) { // special case: if there is a windows drive letter, then keep the original return value
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K 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) -
tensorflow/c/eager/c_api.cc
switch (default_value.value_case()) { case tensorflow::AttrValue::kS: { const string& v = default_value.s(); TFE_OpSetAttrString(op, attr_name, v.data(), v.size()); break; } case tensorflow::AttrValue::kI: TFE_OpSetAttrInt(op, attr_name, static_cast<int64_t>(default_value.i())); break; case tensorflow::AttrValue::kF:
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K 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) -
cmd/speedtest.go
result.Servers = len(globalNotificationSys.peerClients) + 1 result.Version = Version result.Concurrent = concurrency select { case ch <- result: case <-ctx.Done(): return } } for { select { case <-ctx.Done(): // If the client got disconnected stop the speedtest. return default: } sopts := speedTestOpts{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon May 06 09:45:10 UTC 2024 - 9.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
/* * NOTE: "invoker:install" vs "appassembler:assemble": Both mojos use the artifact installer to put an artifact * into a repository. In the first case, the result needs to be a proper local repository that one can use for * local artifact resolution. In the second case, the result needs to precisely obey the path information of the * repository's layout to allow pointing at artifacts within the repository. Unfortunately,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/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; } } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.6K bytes - Viewed (0)