Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1361 - 1370 of 1,988 for writeFn (0.03 sec)

  1. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Create buffer for encoding
            byte[] buffer = new byte[16];
            int bytesWritten = info.encode(buffer, 0);
    
            // Verify bytes written
            assertEquals(8, bytesWritten);
    
            // Verify encoded value
            long decodedValue = SMBUtil.readInt8(buffer, 0);
            assertEquals(endOfFile, decodedValue);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for map testers.
     *
     * <p>TODO: see how much of this is actually needed once Map testers are written. (It was cloned
     * from AbstractCollectionTester.)
     *
     * @param <K> the key type of the map to be tested.
     * @param <V> the value type of the map to be tested.
     * @author George van den Driessche
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

                val nullawayAttributeValue = errorproneExtension.nullawayEnabled.map { if (it) NullawayState.ENABLED else NullawayState.DISABLED }
    
                // We don't care about nullaway in test fixtures or tests, they're written in Groovy anyway.
                NullawayAttributes.addToConfiguration(configurations.named(compileClasspathConfigurationName), nullawayAttributeValue)
    
                project.plugins.withType<JavaLibraryPlugin> {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Oct 01 11:57:43 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/HMACT64Test.java

            byte[] buffer = new byte[32];
            int bytesWritten = hmac.engineDigest(buffer, 5, 16);
    
            assertEquals(16, bytesWritten);
            // Check that bytes were written to the correct position
            byte[] extractedResult = Arrays.copyOfRange(buffer, 5, 21);
            assertEquals(16, extractedResult.length);
        }
    
        @Test
        void testEngineDigestWithInsufficientBuffer() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

      private val messageFrameBuffer = Buffer()
    
      /** Lazily initialized on first use. */
      private var messageInflater: MessageInflater? = null
    
      // Masks are only a concern for server writers.
      private val maskKey: ByteArray? = if (isClient) null else ByteArray(4)
      private val maskCursor: Buffer.UnsafeCursor? = if (isClient) null else Buffer.UnsafeCursor()
    
      interface FrameCallback {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 10K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            final CountDownLatch statusReadLatch = new CountDownLatch(1);
            final AtomicInteger successCount = new AtomicInteger(0);
    
            crawlerContext.setStatus(CrawlerStatus.INITIALIZING);
    
            Thread writer = new Thread(new Runnable() {
                @Override
                public void run() {
                    try {
                        statusSetLatch.await();
                        crawlerContext.setStatus(CrawlerStatus.DONE);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/UniAddress.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.netbios;
    
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/witness/WitnessClientTest.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.witness;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/EnumsTest.java

        Class<TestEnum> shadowTestEnum =
            (Class<TestEnum>) Class.forName(TestEnum.class.getName(), false, shadowLoader);
        assertThat(shadowTestEnum).isNotEqualTo(TestEnum.class);
        // We can't write Set<TestEnum> because that is a Set of the TestEnum from the original
        // ClassLoader.
        Set<Object> shadowConstants = new HashSet<>();
        for (TestEnum constant : TestEnum.values()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. internal/config/identity/openid/jwt_test.go

              "e":"AQAB",
              "alg":"RS256",
              "kid":"2011-04-29"}
           ]
         }`
    		w.Write([]byte(jsonkey))
    	}))
    	return server
    }
    
    func TestJWTHMACType(t *testing.T) {
    	server := initJWKSServer()
    	defer server.Close()
    
    	jwt := &jwtgo.Token{
    		Method: jwtgo.SigningMethodHS256,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top