Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 792 for march (0.02 seconds)

  1. internal/s3select/sql/value_test.go

    package sql
    
    import (
    	"fmt"
    	"math"
    	"strconv"
    	"testing"
    	"time"
    )
    
    // valueBuilders contains one constructor for each value type.
    // Values should match if type is the same.
    var valueBuilders = []func() *Value{
    	FromNull,
    	func() *Value {
    		return FromBool(true)
    	},
    	func() *Value {
    		return FromBytes([]byte("byte contents"))
    	},
    	func() *Value {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

            int bytesWritten = smbComNegotiate.writeBytesWireFormat(dst, dstIndex);
    
            // Verify the number of bytes written
            assertEquals(expectedBytes.length, bytesWritten, "The number of bytes written should match the length of the dialect string.");
            // Verify the content of the destination array
            assertArrayEquals(expectedBytes, dst, "The destination array should contain the ASCII bytes of the dialect string.");
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          .assertRequestHeader("Accept-Language", "en-US")
          .assertRequestHeader("Accept-Charset", "UTF-8")
          .assertRequestHeader("If-None-Match") // No If-None-Match on the user's request.
          .assertSentRequestAtMillis(request2SentAt, request2ReceivedAt)
          .assertReceivedResponseAtMillis(request2SentAt, request2ReceivedAt)
    
        // Check the cached response. Its request contains only the saved Vary headers.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 147.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

        /**
         * Constructs a Trans2FindFirst2 request for finding files.
         *
         * @param config the configuration to use
         * @param filename the path to search in
         * @param wildcard the wildcard pattern to match
         * @param searchAttributes the file attributes to search for
         * @param batchCount the number of entries to return
         * @param batchSize the maximum size of the response buffer
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/ByteEncodableTest.java

            assertEquals(3, encodedLen, "Encoded length should be equal to the specified length");
    
            // Verify content
            assertArrayEquals(new byte[] { 0x02, 0x03, 0x04, 0x00, 0x00 }, dest, "Encoded bytes should match the expected subset");
        }
    
        @Test
        void testEncodeWithOffset() {
            // Test encoding with a destination offset
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. tests/test_security_oauth2_optional.py

        assert response.json() == {
            "detail": [
                {
                    "type": "string_pattern_mismatch",
                    "loc": ["body", "grant_type"],
                    "msg": "String should match pattern '^password$'",
                    "input": grant_type,
                    "ctx": {"pattern": "^password$"},
                }
            ]
        }
    
    
    def test_strict_login_correct_data():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. tests/test_dependency_yield_scope_websockets.py

        assert global_state["session_closed"] is True
        assert global_state["named_session_closed"] is True
    
    
    def test_broken_scope() -> None:
        with pytest.raises(
            FastAPIError,
            match='The dependency "get_named_func_session" has a scope of "request", it cannot depend on dependencies with scope "function"',
        ):
    
            @app.websocket("/broken-scope")
            async def get_broken(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

                    }
    
                    else -> line
                }
            }.toByteArray(StandardCharsets.UTF_8))
            require(replacementsCount == 1) { "The script file produced by the default start script doesn't match expected layout" }
        }
    
        private
        fun getAgentOptions(appHomeVar: String) = agentJarNames.map { "-javaagent:$appHomeVar/lib/agents/$it" }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Apr 08 01:46:59 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top