- Sort Score
- Result 10 results
- Languages All
Results 2891 - 2900 of 6,241 for If (0.03 sec)
-
src/main/java/org/codelibs/core/misc/Base64Util.java
* @return エンコードされたデータ */ public static String encode(final byte[] inData) { if (ArrayUtil.isEmpty(inData)) { return ""; } final int mod = inData.length % 3; final int num = inData.length / 3; char[] outData = null; if (mod != 0) { outData = new char[(num + 1) * 4]; } else { outData = new char[num * 4];
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.3K bytes - Viewed (0) -
internal/s3select/jstream/scratch.go
copy(ndata, s.data) s.data = ndata } // append single byte to scratch buffer func (s *scratch) add(c byte) { if s.fill+1 >= cap(s.data) { s.grow() } s.data[s.fill] = c s.fill++ } // append encoded rune to scratch buffer func (s *scratch) addRune(r rune) int { if s.fill+utf8.UTFMax >= cap(s.data) { s.grow() } n := utf8.EncodeRune(s.data[s.fill:], r) s.fill += n return n
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 758 bytes - Viewed (0) -
src/arena/arena_test.go
func TestSmoke(t *testing.T) { a := arena.NewArena() defer a.Free() tt := arena.New[T1](a) tt.n = 1 ts := arena.MakeSlice[T1](a, 99, 100) if len(ts) != 99 { t.Errorf("Slice() len = %d, want 99", len(ts)) } if cap(ts) != 100 { t.Errorf("Slice() cap = %d, want 100", cap(ts)) } ts[1].n = 42 } func TestSmokeLarge(t *testing.T) { a := arena.NewArena() defer a.Free()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 12 20:23:36 UTC 2022 - 742 bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java
handle.sendrecv(rpc); if (rpc.retval != 0) throw new SmbException(rpc.retval, false); } public void close() throws IOException { MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this); handle.sendrecv(rpc); if (rpc.retval != 0) throw new SmbException(rpc.retval, false); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketOutputStream.java
SocketOutputStream( OutputStream out ) { super( out ); } public synchronized void write( byte[] b, int off, int len ) throws IOException { if( len > 0xFFFF ) { throw new IOException( "write too large: " + len ); } else if( off < 4 ) { throw new IOException( "NetBIOS socket output buffer requires 4 bytes available before off" ); } off -= 4;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.7K bytes - Viewed (0) -
common/scripts/fix_copyright_banner.sh
# limitations under the License. set -e WD=$(dirname "$0") WD=$(cd "$WD"; pwd) for fn in "$@"; do if ! grep -L -q -e "Apache License, Version 2" -e "Copyright" "${fn}"; then if [[ "${fn}" == *.go || "${fn}" == *.rs ]]; then newfile=$(cat "${WD}/copyright-banner-go.txt" "${fn}") echo "${newfile}" > "${fn}" echo "Fixing license: ${fn}" else
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 17 04:35:57 UTC 2022 - 1.3K bytes - Viewed (0) -
clause/clause_test.go
) for _, c := range clauses { if _, ok := buildNamesMap[c.Name()]; !ok { buildNames = append(buildNames, c.Name()) buildNamesMap[c.Name()] = true } stmt.AddClause(c) } stmt.Build(buildNames...) if strings.TrimSpace(stmt.SQL.String()) != result { t.Errorf("SQL expects %v got %v", result, stmt.SQL.String()) } if !reflect.DeepEqual(stmt.Vars, vars) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Jun 02 02:50:38 UTC 2020 - 1012 bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/tflite-in-play-services.md
if possible): - TensorFlow Lite in Play Services SDK version (found in `build.gradle`): - Google Play Services version (`Settings` > `Apps` > `Google Play Services` > `App details`): **Standalone code to reproduce the issue** Provide a reproducible test case that is the bare minimum necessary to generate the problem. If possible, please share a link to or attach code demonstrating
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jun 15 03:35:58 UTC 2022 - 880 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathBenchmarking.java
* lower magnitude. */ static BigInteger randomBigInteger(int numBits) { while (true) { if (RANDOM_SOURCE.nextBoolean()) { return randomNonNegativeBigInteger(numBits); } BigInteger neg = randomNonNegativeBigInteger(numBits).negate(); if (neg.signum() != 0) { return neg; } } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java
// Intentionally notNull because Super POM may not contain a modelId Objects.requireNonNull(modelId, "modelId cannot null"); if (activeProfiles != null) { this.activePomProfiles.put(modelId, new ArrayList<>(activeProfiles)); } else { this.activePomProfiles.remove(modelId); } return this;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K bytes - Viewed (0)