repo
stringclasses
1k values
file_url
stringlengths
96
373
file_path
stringlengths
11
294
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
6 values
commit_sha
stringclasses
1k values
retrieved_at
stringdate
2026-01-04 14:45:56
2026-01-04 18:30:23
truncated
bool
2 classes
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/io/caching/S3RemoteFileSystem.java
imhotep-server/src/main/java/com/indeed/imhotep/io/caching/S3RemoteFileSystem.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/io/caching/RemoteFileSystemMounter.java
imhotep-server/src/main/java/com/indeed/imhotep/io/caching/RemoteFileSystemMounter.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/io/caching/NoOpRemoteFileSystem.java
imhotep-server/src/main/java/com/indeed/imhotep/io/caching/NoOpRemoteFileSystem.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/io/caching/CachedRemoteFileSystem.java
imhotep-server/src/main/java/com/indeed/imhotep/io/caching/CachedRemoteFileSystem.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/io/caching/KerberosUtils.java
imhotep-server/src/main/java/com/indeed/imhotep/io/caching/KerberosUtils.java
/* * Copyright (C) 2017 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/io/caching/RemappingRemoteFileSystem.java
imhotep-server/src/main/java/com/indeed/imhotep/io/caching/RemappingRemoteFileSystem.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/IntGroupLookup.java
imhotep-server/src/main/java/com/indeed/imhotep/local/IntGroupLookup.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/IndexReWriter.java
imhotep-server/src/main/java/com/indeed/imhotep/local/IndexReWriter.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/FlamdexSubsetFTGSIterator.java
imhotep-server/src/main/java/com/indeed/imhotep/local/FlamdexSubsetFTGSIterator.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/MultiRegroupInternals.java
imhotep-server/src/main/java/com/indeed/imhotep/local/MultiRegroupInternals.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/ConstantGroupLookup.java
imhotep-server/src/main/java/com/indeed/imhotep/local/ConstantGroupLookup.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/GroupLookupFactory.java
imhotep-server/src/main/java/com/indeed/imhotep/local/GroupLookupFactory.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/ImhotepBitSetPooler.java
imhotep-server/src/main/java/com/indeed/imhotep/local/ImhotepBitSetPooler.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/NativeMetricRegroupInternals.java
imhotep-server/src/main/java/com/indeed/imhotep/local/NativeMetricRegroupInternals.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/ImhotepLocalSession.java
imhotep-server/src/main/java/com/indeed/imhotep/local/ImhotepLocalSession.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
true
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/MergingIntTermDocIterator.java
imhotep-server/src/main/java/com/indeed/imhotep/local/MergingIntTermDocIterator.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/MergingStringTermDocIterator.java
imhotep-server/src/main/java/com/indeed/imhotep/local/MergingStringTermDocIterator.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/ByteGroupLookup.java
imhotep-server/src/main/java/com/indeed/imhotep/local/ByteGroupLookup.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/MergingTermDocIterator.java
imhotep-server/src/main/java/com/indeed/imhotep/local/MergingTermDocIterator.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/RawFlamdexSubsetFTGSIterator.java
imhotep-server/src/main/java/com/indeed/imhotep/local/RawFlamdexSubsetFTGSIterator.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/CharGroupLookup.java
imhotep-server/src/main/java/com/indeed/imhotep/local/CharGroupLookup.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/AbstractFlamdexFTGSIterator.java
imhotep-server/src/main/java/com/indeed/imhotep/local/AbstractFlamdexFTGSIterator.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/FlamdexFTGSIterator.java
imhotep-server/src/main/java/com/indeed/imhotep/local/FlamdexFTGSIterator.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/RawFlamdexFTGSIterator.java
imhotep-server/src/main/java/com/indeed/imhotep/local/RawFlamdexFTGSIterator.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/GroupLookup.java
imhotep-server/src/main/java/com/indeed/imhotep/local/GroupLookup.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/DynamicMetric.java
imhotep-server/src/main/java/com/indeed/imhotep/local/DynamicMetric.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
indeedeng/imhotep
https://github.com/indeedeng/imhotep/blob/291fa59eb86cdd57587d8a76a14f34139c1276d1/imhotep-server/src/main/java/com/indeed/imhotep/local/BitSetGroupLookup.java
imhotep-server/src/main/java/com/indeed/imhotep/local/BitSetGroupLookup.java
/* * Copyright (C) 2014 Indeed Inc. * * Licensed 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 * * Unless required by applicable law or agreed to in ...
java
Apache-2.0
291fa59eb86cdd57587d8a76a14f34139c1276d1
2026-01-05T02:33:46.670185Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/app/src/test/java/com/qiniu/android/netdiag/ExampleUnitTest.java
app/src/test/java/com/qiniu/android/netdiag/ExampleUnitTest.java
package com.qiniu.android.netdiag; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2)...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/app/src/androidTest/java/com/qiniu/android/netdiag/ApplicationTest.java
app/src/androidTest/java/com/qiniu/android/netdiag/ApplicationTest.java
package com.qiniu.android.netdiag; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { ...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/EnvInfo.java
library/src/main/java/com/qiniu/android/netdiag/EnvInfo.java
package com.qiniu.android.netdiag; import android.annotation.TargetApi; import android.app.ActivityManager; import android.content.Context; import android.os.Build; import android.os.Process; import android.util.Log; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; impor...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/TcpPing.java
library/src/main/java/com/qiniu/android/netdiag/TcpPing.java
package com.qiniu.android.netdiag; import java.io.IOException; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Socket; import java.net.SocketTimeoutException; import java.net.UnknownHostException; /** * Created by bailong on 16/2/24. */ public final class TcpPing implements Task { ...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/RtmpPing.java
library/src/main/java/com/qiniu/android/netdiag/RtmpPing.java
package com.qiniu.android.netdiag; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Socket; import java.net.SocketTimeoutException; import java.net.UnknownHostException; import java.util.Locale; import j...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/Ping.java
library/src/main/java/com/qiniu/android/netdiag/Ping.java
package com.qiniu.android.netdiag; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Locale; /** * Created by bailong on 16/2/24. */ public final class Ping implements Task { private fi...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/Version.java
library/src/main/java/com/qiniu/android/netdiag/Version.java
package com.qiniu.android.netdiag; public interface Version { String VERSION = "0.1.1"; }
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/Output.java
library/src/main/java/com/qiniu/android/netdiag/Output.java
package com.qiniu.android.netdiag; /** * Created by bailong on 16/2/24. */ public interface Output { void write(String line); }
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/Util.java
library/src/main/java/com/qiniu/android/netdiag/Util.java
package com.qiniu.android.netdiag; import android.os.AsyncTask; import android.os.Build; import android.os.Handler; import android.os.Looper; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; /** * Created by bailong on 16/2/24. */ public final class Ut...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/DNS.java
library/src/main/java/com/qiniu/android/netdiag/DNS.java
package com.qiniu.android.netdiag; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.LineNumberReader; import java.lang.reflect.Method; import java.net.InetAddress; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; /** ...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/IP.java
library/src/main/java/com/qiniu/android/netdiag/IP.java
package com.qiniu.android.netdiag; import java.io.IOException; import java.net.DatagramSocket; import java.net.InetAddress; /** * Created by bailong on 16/2/24. */ public final class IP { public static String external() throws IOException { return Util.httpGetString("http://whatismyip.akamai.com"); ...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/Task.java
library/src/main/java/com/qiniu/android/netdiag/Task.java
package com.qiniu.android.netdiag; /** * Created by bailong on 16/2/24. */ public interface Task { void stop(); }
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/NsLookup.java
library/src/main/java/com/qiniu/android/netdiag/NsLookup.java
package com.qiniu.android.netdiag; import com.qiniu.android.netdiag.localdns.Record; import com.qiniu.android.netdiag.localdns.Resolver; import java.io.IOException; import java.net.InetAddress; import java.net.UnknownHostException; /** * Created by bailong on 16/2/24. */ public final class NsLookup { private f...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/TraceRoute.java
library/src/main/java/com/qiniu/android/netdiag/TraceRoute.java
package com.qiniu.android.netdiag; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.regex.Matcher; import java.util.regex.Pattern; import static java.lang.Runtime.getRuntime; /** * Created...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/HttpPing.java
library/src/main/java/com/qiniu/android/netdiag/HttpPing.java
package com.qiniu.android.netdiag; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import java.util.List; import java.util.Map; /** * Created by bailong on 16/2/24. */ public final class HttpPing implements Task { private static final int MAX = 64 ...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/localdns/Record.java
library/src/main/java/com/qiniu/android/netdiag/localdns/Record.java
package com.qiniu.android.netdiag.localdns; import java.util.Locale; /** * Created by bailong on 15/6/12. */ public final class Record { /** * A 记录 类型 */ public static final int TYPE_A = 1; /** * CName 类型 */ public static final int TYPE_CNAME = 5; /** * 具体的值,A 记录时为IP,C...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/localdns/Resolver.java
library/src/main/java/com/qiniu/android/netdiag/localdns/Resolver.java
package com.qiniu.android.netdiag.localdns; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.util.Random; /** * Created by bailong on 15/6/16. */ public final class Resolver { private static final Random random = new Random(); ...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/localdns/DnsException.java
library/src/main/java/com/qiniu/android/netdiag/localdns/DnsException.java
package com.qiniu.android.netdiag.localdns; import java.io.IOException; /** * Created by bailong on 15/6/19. */ public class DnsException extends IOException { public DnsException(String domain, String message) { super(domain + ": " + message); } }
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/main/java/com/qiniu/android/netdiag/localdns/DnsMessage.java
library/src/main/java/com/qiniu/android/netdiag/localdns/DnsMessage.java
package com.qiniu.android.netdiag.localdns; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.OutputStream; import java.net.IDN; import java.net.InetAddress; import java.net.UnknownHostE...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/androidTest/java/com/qiniu/android/netdiag/EnvInfoTest.java
library/src/androidTest/java/com/qiniu/android/netdiag/EnvInfoTest.java
package com.qiniu.android.netdiag; import android.test.AndroidTestCase; import junit.framework.Assert; /** * Created by bailong on 16/3/14. */ public class EnvInfoTest extends AndroidTestCase { // public void testTotalCpu() { // EnvInfo.CpuInfo cpu = EnvInfo.cpuInfo(); // Assert.assertTrue(cpu.tot...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/androidTest/java/com/qiniu/android/netdiag/RtmpPingTest.java
library/src/androidTest/java/com/qiniu/android/netdiag/RtmpPingTest.java
package com.qiniu.android.netdiag; import android.test.AndroidTestCase; /** * Created by bailong on 16/3/9. */ public class RtmpPingTest extends AndroidTestCase { private RtmpPing.Result result; // public void testOK() throws InterruptedException { // final CountDownLatch c = new CountDownLatch(1); /...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/androidTest/java/com/qiniu/android/netdiag/TcpPingTest.java
library/src/androidTest/java/com/qiniu/android/netdiag/TcpPingTest.java
package com.qiniu.android.netdiag; import android.test.AndroidTestCase; import junit.framework.Assert; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; /** * Created by bailong on 16/3/8. */ public class TcpPingTest extends AndroidTestCase { private TcpPing.Result result; ...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/androidTest/java/com/qiniu/android/netdiag/TraceRouteTest.java
library/src/androidTest/java/com/qiniu/android/netdiag/TraceRouteTest.java
package com.qiniu.android.netdiag; import junit.framework.TestCase; import java.util.ArrayList; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; /** * Created by bailong on 16/9/14. */ public class TraceRouteTest extends TestCase { public void testTrace() throws Exception { ...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/androidTest/java/com/qiniu/android/netdiag/TestLogger.java
library/src/androidTest/java/com/qiniu/android/netdiag/TestLogger.java
package com.qiniu.android.netdiag; /** * Created by bailong on 16/2/28. */ public class TestLogger implements Output { @Override public void write(String line) { System.out.println(line); } }
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/androidTest/java/com/qiniu/android/netdiag/NsLookupTest.java
library/src/androidTest/java/com/qiniu/android/netdiag/NsLookupTest.java
package com.qiniu.android.netdiag; import android.test.AndroidTestCase; import junit.framework.Assert; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; /** * Created by bailong on 16/2/29. */ public class NsLookupTest extends AndroidTestCase { private NsLookup.Result result; ...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/androidTest/java/com/qiniu/android/netdiag/HttpTest.java
library/src/androidTest/java/com/qiniu/android/netdiag/HttpTest.java
package com.qiniu.android.netdiag; import android.test.AndroidTestCase; import junit.framework.Assert; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; /** * Created by bailong on 16/2/28. */ public class HttpTest extends AndroidTestCase { private HttpPing.Result r; publi...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/androidTest/java/com/qiniu/android/netdiag/DnsTest.java
library/src/androidTest/java/com/qiniu/android/netdiag/DnsTest.java
package com.qiniu.android.netdiag; import android.test.AndroidTestCase; import junit.framework.Assert; /** * Created by bailong on 16/2/24. */ public class DnsTest extends AndroidTestCase { public void testLocal() throws Exception { String[] ip = DNS.local(); Assert.assertNotNull(ip); ...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/androidTest/java/com/qiniu/android/netdiag/IpTest.java
library/src/androidTest/java/com/qiniu/android/netdiag/IpTest.java
package com.qiniu.android.netdiag; import android.test.AndroidTestCase; import junit.framework.Assert; public class IpTest extends AndroidTestCase { public void testExternal() throws Exception { String ip = IP.external(); Assert.assertNotNull(ip); Assert.assertTrue(!"".equals(ip)); ...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
qiniu/android-netdiag
https://github.com/qiniu/android-netdiag/blob/97ce25280491b999848ede9610656d9d7524168f/library/src/androidTest/java/com/qiniu/android/netdiag/PingTest.java
library/src/androidTest/java/com/qiniu/android/netdiag/PingTest.java
package com.qiniu.android.netdiag; import android.test.AndroidTestCase; import junit.framework.Assert; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; /** * Created by bailong on 16/2/29. */ public class PingTest extends AndroidTestCase { private Ping.Result result; publ...
java
MIT
97ce25280491b999848ede9610656d9d7524168f
2026-01-05T02:35:25.812262Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/test/java/com/rance/chatui/ExampleUnitTest.java
app/src/test/java/com/rance/chatui/ExampleUnitTest.java
package com.rance.chatui; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/util/CheckPermissionUtils.java
app/src/main/java/com/rance/chatui/util/CheckPermissionUtils.java
package com.rance.chatui.util; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.media.AudioFormat; import android.media.AudioRecord; import android.media.MediaRecorder; import android.provider.Settings; import android.support.v7.app.AlertDialog; /**...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/util/FileUtils.java
app/src/main/java/com/rance/chatui/util/FileUtils.java
package com.rance.chatui.util; import android.annotation.TargetApi; import android.app.Activity; import android.content.ContentUris; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Environment; import android.provider.DocumentsContract; import android.provider....
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/util/AudioRecorderUtils.java
app/src/main/java/com/rance/chatui/util/AudioRecorderUtils.java
package com.rance.chatui.util; import android.content.Context; import android.media.MediaRecorder; import android.os.Environment; import android.os.Handler; import android.util.Log; import java.io.File; import java.io.IOException; /** * 作者:Rance on 2016/11/29 10:47 * 邮箱:rance935@163.com */ public class AudioRecor...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/util/Utils.java
app/src/main/java/com/rance/chatui/util/Utils.java
package com.rance.chatui.util; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.text.Spannable; import android.text.SpannableString; import android.text.style.ImageSpan; import android.widget.TextView; import ja...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/util/EmotionUtils.java
app/src/main/java/com/rance/chatui/util/EmotionUtils.java
package com.rance.chatui.util; import com.rance.chatui.R; import java.util.LinkedHashMap; /** * 作者:Rance on 2016/11/29 10:47 * 邮箱:rance935@163.com * 表情加载类,可自己添加多种表情,分别建立不同的map存放和不同的标志符即可 */ public class EmotionUtils { /** * key-表情文字; * value-表情图片资源 */ public static LinkedHashMap<String, ...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/util/PhotoUtils.java
app/src/main/java/com/rance/chatui/util/PhotoUtils.java
package com.rance.chatui.util; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.os.Build; import android.provider.MediaStore; import android.support.v4.app.Fragment; import android.util.Log; import com.rance.chatui.base.BaseFragment; /...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/util/GifOpenHelper.java
app/src/main/java/com/rance/chatui/util/GifOpenHelper.java
package com.rance.chatui.util; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import java.io.InputStream; import java.util.Vector; //Handler for read & extract Bitmap from *.gif public class GifOpenHelper { // to store *.gif data, Bitmap & delay class GifFrame { // to access image & dela...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/util/GlobalOnItemClickManagerUtils.java
app/src/main/java/com/rance/chatui/util/GlobalOnItemClickManagerUtils.java
package com.rance.chatui.util; import android.content.Context; import android.view.KeyEvent; import android.view.View; import android.widget.AdapterView; import android.widget.EditText; import com.rance.chatui.adapter.EmotionGridViewAdapter; /** * 作者:Rance on 2016/11/29 10:47 * 邮箱:rance935@163.com * 点击表情的全局监听管理类 ...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/util/MediaManager.java
app/src/main/java/com/rance/chatui/util/MediaManager.java
package com.rance.chatui.util; import android.media.AudioManager; import android.media.MediaPlayer; import android.media.MediaPlayer.OnCompletionListener; import android.media.MediaPlayer.OnErrorListener; /** * 作者:Rance on 2016/12/15 15:11 * 邮箱:rance935@163.com */ public class MediaManager { private static Me...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/util/PopupWindowFactory.java
app/src/main/java/com/rance/chatui/util/PopupWindowFactory.java
package com.rance.chatui.util; import android.content.Context; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import android.widget.PopupWindow; /** * 作者:Rance on 2016/11/29 10:47 * 邮箱:rance935@163.com */ public class PopupWindowFactory { ...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/util/Constants.java
app/src/main/java/com/rance/chatui/util/Constants.java
package com.rance.chatui.util; /** * 作者:Rance on 2016/12/20 16:51 * 邮箱:rance935@163.com */ public class Constants { public static final String TAG = "rance"; public static final String AUTHORITY = "com.chatui.fileprovider"; /** 0x001-接受消息 0x002-发送消息**/ public static final int CHAT_ITEM_TYPE_LEFT = ...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/util/MessageCenter.java
app/src/main/java/com/rance/chatui/util/MessageCenter.java
package com.rance.chatui.util; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.util.Log; import com.rance.chatui.enity.Link; import com.rance.chatui.enity.MessageInfo; import org.greenrobot.eventbus.EventBus; /** * Created by chengz * *...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/base/BaseFragment.java
app/src/main/java/com/rance/chatui/base/BaseFragment.java
package com.rance.chatui.base; import android.app.Activity; import android.app.ProgressDialog; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widge...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/base/MyApplication.java
app/src/main/java/com/rance/chatui/base/MyApplication.java
package com.rance.chatui.base; import android.app.Application; import android.content.Context; import android.util.DisplayMetrics; /** * 作者:Rance on 2016/12/20 16:49 * 邮箱:rance935@163.com */ public class MyApplication extends Application { private static MyApplication mInstance; public static Context mCont...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/adapter/CommonFragmentPagerAdapter.java
app/src/main/java/com/rance/chatui/adapter/CommonFragmentPagerAdapter.java
package com.rance.chatui.adapter; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import java.util.ArrayList; /** * 作者:Rance on 2016/11/25 16:36 * 邮箱:rance935@163.com */ public class CommonFragmentPagerAdapter extends Fragm...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/adapter/EmotionPagerAdapter.java
app/src/main/java/com/rance/chatui/adapter/EmotionPagerAdapter.java
package com.rance.chatui.adapter; import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager; import android.view.View; import android.view.ViewGroup; import android.widget.GridView; import java.util.List; /** * 作者:Rance on 2016/11/29 10:47 * 邮箱:rance935@163.com */ public class EmotionP...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/adapter/ContactAdapter.java
app/src/main/java/com/rance/chatui/adapter/ContactAdapter.java
package com.rance.chatui.adapter; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.rance.chatui.R; import com.rance.chatui.enity.IMContact; import java.util.List; /** * Created by ...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/adapter/EmotionGridViewAdapter.java
app/src/main/java/com/rance/chatui/adapter/EmotionGridViewAdapter.java
package com.rance.chatui.adapter; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.AbsListView.LayoutParams; import android.widget.BaseAdapter; import android.widget.ImageView; import com.rance.chatui.R; import com.rance.chatui.util.EmotionUtils; import j...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/adapter/ChatAdapter.java
app/src/main/java/com/rance/chatui/adapter/ChatAdapter.java
package com.rance.chatui.adapter; import android.os.Handler; import android.support.v7.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import com.rance.chatui.adapter.holder.BaseViewHolder; import com.rance.chatui.adapter.holder.ChatAcceptViewHolder; impo...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/adapter/holder/BaseViewHolder.java
app/src/main/java/com/rance/chatui/adapter/holder/BaseViewHolder.java
package com.rance.chatui.adapter.holder; import android.support.v7.widget.RecyclerView; import android.view.View; /** * Created by chengz * * @date 2017/8/3. */ public class BaseViewHolder<M> extends RecyclerView.ViewHolder { public BaseViewHolder(View itemView) { super(itemView); } public ...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/adapter/holder/ChatAcceptViewHolder.java
app/src/main/java/com/rance/chatui/adapter/holder/ChatAcceptViewHolder.java
package com.rance.chatui.adapter.holder; import android.content.Context; import android.os.Handler; import android.text.TextPaint; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.Rela...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/adapter/holder/ChatSendViewHolder.java
app/src/main/java/com/rance/chatui/adapter/holder/ChatSendViewHolder.java
package com.rance.chatui.adapter.holder; import android.content.Context; import android.os.Handler; import android.support.v4.content.ContextCompat; import android.text.TextPaint; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import androi...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/ui/fragment/ChatFunctionFragment.java
app/src/main/java/com/rance/chatui/ui/fragment/ChatFunctionFragment.java
package com.rance.chatui.ui.fragment; import android.Manifest; import android.app.Activity; import android.content.Intent; import android.content.pm.PackageManager; import android.database.Cursor; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.os.Environment; import android.p...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/ui/fragment/ChatEmotionFragment.java
app/src/main/java/com/rance/chatui/ui/fragment/ChatEmotionFragment.java
package com.rance.chatui.ui.fragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.view.ViewPager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.GridView; import android.widget.LinearLayout; import ...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/ui/activity/FullImageActivity.java
app/src/main/java/com/rance/chatui/ui/activity/FullImageActivity.java
package com.rance.chatui.ui.activity; import android.animation.ObjectAnimator; import android.annotation.TargetApi; import android.app.Activity; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.os.Build; import android.os.Bundle; i...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/ui/activity/IMActivity.java
app/src/main/java/com/rance/chatui/ui/activity/IMActivity.java
package com.rance.chatui.ui.activity; import android.content.Intent; import android.graphics.drawable.AnimationDrawable; import android.media.MediaPlayer; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.support.v4.app.Fragment; import android.support...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/ui/activity/ContactActivity.java
app/src/main/java/com/rance/chatui/ui/activity/ContactActivity.java
package com.rance.chatui.ui.activity; import android.Manifest; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.pm.PackageManager; import android.database.Cursor; import android.net.Uri; import android.provider.ContactsContract; import android.support.annotation.NonNull; i...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/widget/ChatContextMenu.java
app/src/main/java/com/rance/chatui/widget/ChatContextMenu.java
package com.rance.chatui.widget; import android.animation.Animator; import android.annotation.TargetApi; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.os.Build; impo...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/widget/NoScrollViewPager.java
app/src/main/java/com/rance/chatui/widget/NoScrollViewPager.java
package com.rance.chatui.widget; import android.content.Context; import android.support.v4.view.ViewPager; import android.util.AttributeSet; import android.view.MotionEvent; /** * 作者:Rance on 2016/11/25 16:55 * 邮箱:rance935@163.com */ public class NoScrollViewPager extends ViewPager { public NoScrollViewPager(...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/widget/IndicatorView.java
app/src/main/java/com/rance/chatui/widget/IndicatorView.java
package com.rance.chatui.widget; import android.content.Context; import android.util.AttributeSet; import android.view.View; import android.widget.LinearLayout; import com.rance.chatui.R; import com.rance.chatui.util.Utils; import java.util.ArrayList; /** * 作者:Rance on 2016/11/29 10:47 * 邮箱:rance935@163.com * 自定...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/widget/EmotionInputDetector.java
app/src/main/java/com/rance/chatui/widget/EmotionInputDetector.java
package com.rance.chatui.widget; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.graphics.Rect; import android.os.Build; import android.support.v4.view.ViewPager; import android.text.Editable; import android.text...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/widget/StateButton.java
app/src/main/java/com/rance/chatui/widget/StateButton.java
package com.rance.chatui.widget; import android.content.Context; import android.content.res.ColorStateList; import android.content.res.TypedArray; import android.graphics.drawable.Drawable; import android.graphics.drawable.GradientDrawable; import android.graphics.drawable.StateListDrawable; import android.support.ann...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/widget/BubbleImageView.java
app/src/main/java/com/rance/chatui/widget/BubbleImageView.java
package com.rance.chatui.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.RectF; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.util.Attribut...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/widget/BubbleLinearLayout.java
app/src/main/java/com/rance/chatui/widget/BubbleLinearLayout.java
package com.rance.chatui.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.RectF; import android.util.AttributeSet; import android.widget.LinearLayout; import com.rance.chatui.R; /** * 作者:Rance on 2016/12/15 10:49 * 邮箱:rance935@163.com * 自定义聊天气泡LinearLayout */...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/widget/GifTextView.java
app/src/main/java/com/rance/chatui/widget/GifTextView.java
package com.rance.chatui.widget; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Handler; import android.support.v7.widget.AppCompatTextView; import android.text.Spannable; import android.text.SpannableStri...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/widget/BubbleDrawable.java
app/src/main/java/com/rance/chatui/widget/BubbleDrawable.java
package com.rance.chatui.widget; import android.graphics.Bitmap; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.ColorFilter; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.Path; import android.graphics...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/enity/Link.java
app/src/main/java/com/rance/chatui/enity/Link.java
package com.rance.chatui.enity; /** * Created by chengz * * @date 2017/8/4. */ public class Link { String subject, text, stream, url; public String getSubject() { return subject; } public void setSubject(String subject) { this.subject = subject; } public String getText()...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/enity/FullImageInfo.java
app/src/main/java/com/rance/chatui/enity/FullImageInfo.java
package com.rance.chatui.enity; /** * 作者:Rance on 2016/12/21 16:22 * 邮箱:rance935@163.com */ public class FullImageInfo { private int locationX; private int locationY; private int width; private int height; private String imageUrl; public int getLocationX() { return locationX; } ...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/enity/IMContact.java
app/src/main/java/com/rance/chatui/enity/IMContact.java
package com.rance.chatui.enity; /** * Created by chengz * * @date 2017/8/3. */ public class IMContact { String name, phonenumber, surname; public IMContact(String name, String phonenumber) { this.name = name; this.phonenumber = phonenumber; } public String getName() { ret...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/main/java/com/rance/chatui/enity/MessageInfo.java
app/src/main/java/com/rance/chatui/enity/MessageInfo.java
package com.rance.chatui.enity; /** * 作者:Rance on 2016/12/14 14:13 * 邮箱:rance935@163.com */ public class MessageInfo { private int type; private String content; private String filepath; private int sendState; private String time; private String header; private long voiceTime; private...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
stridercheng/chatui
https://github.com/stridercheng/chatui/blob/5d9ac4d1d16f65c947ce635d8e4021d054805878/app/src/androidTest/java/com/rance/chatui/ApplicationTest.java
app/src/androidTest/java/com/rance/chatui/ApplicationTest.java
package com.rance.chatui; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { super(...
java
Apache-2.0
5d9ac4d1d16f65c947ce635d8e4021d054805878
2026-01-05T02:35:27.655474Z
false
tianmiantech/WeFe
https://github.com/tianmiantech/WeFe/blob/f79ae5215a0a8d2cb9731d505f00bb65e73e8a4e/fusion/fusion-service/src/main/java/com/welab/wefe/data/fusion/service/FusionService.java
fusion/fusion-service/src/main/java/com/welab/wefe/data/fusion/service/FusionService.java
/* * Copyright 2021 Tianmian Tech. All Rights Reserved. * * Licensed 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 * * Unless required by applicab...
java
Apache-2.0
f79ae5215a0a8d2cb9731d505f00bb65e73e8a4e
2026-01-05T02:29:15.784822Z
false
tianmiantech/WeFe
https://github.com/tianmiantech/WeFe/blob/f79ae5215a0a8d2cb9731d505f00bb65e73e8a4e/fusion/fusion-service/src/main/java/com/welab/wefe/data/fusion/service/dto/base/PagingInput.java
fusion/fusion-service/src/main/java/com/welab/wefe/data/fusion/service/dto/base/PagingInput.java
/** * Copyright 2021 Tianmian Tech. All Rights Reserved. * * Licensed 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 * * Unless required by applica...
java
Apache-2.0
f79ae5215a0a8d2cb9731d505f00bb65e73e8a4e
2026-01-05T02:29:15.784822Z
false