Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 3,743 for shield (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // Write reserved field (any value is acceptable)
            buffer[2] = (byte) byte2;
            buffer[3] = (byte) byte3;
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, 0);
    
            // Then - should still read 4 bytes regardless of reserved field value
            assertEquals(4, bytesRead);
        }
    
        @Test
        @DisplayName("Should handle edge case structure sizes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. schema/field_test.go

    		"birthday":   time.Now(),
    		"active":     f,
    	}
    
    	for k, v := range newValues {
    		if err := userSchema.FieldsByDBName[k].Set(context.Background(), reflectValue, v); err != nil {
    			t.Errorf("no error should happen when assign value to field %v, but got %v", k, err)
    		}
    	}
    	newValues["updated_at"] = time.Time{}
    	newValues["active"] = false
    	checkField(t, userSchema, reflectValue, newValues)
    
    	// test valuer and other type
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            NdrSmall ndrSmall = new NdrSmall(123);
            assertEquals(123, ndrSmall.value, "Value should be initialized correctly for valid input.");
        }
    
        @Test
        void testConstructor_maxValue() {
            // Test with the maximum byte value
            NdrSmall ndrSmall = new NdrSmall(255);
            assertEquals(255, ndrSmall.value, "Value should be initialized correctly for max byte value.");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            assertTrue(it.hasNext(), "Iterator should have first element");
            assertSame(fe1, it.next(), "First element must match first page");
            assertTrue(it.hasNext(), "Iterator should have second element");
            assertSame(fe2, it.next(), "Second element must match first page");
    
            // Next page fetched via fetchMore()
            assertTrue(it.hasNext(), "Iterator should have third element after fetchMore");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            queryContext.addFieldLog("field", "text");
            // Should not throw exception
        }
    
        // Test addFieldLog with existing field
        public void test_addFieldLog_existingField() {
            Map<String, List<String>> fieldLogMap = new HashMap<>();
            List<String> existingList = new ArrayList<>();
            existingList.add("existing");
            fieldLogMap.put("field", existingList);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            // Check for sorted concatenated strings
            assertTrue("Result should contain sorted tags", result.contains("aaammmzzz"));
            assertTrue("Result should contain sorted roles", result.contains("role1role2role3"));
            assertTrue("Result should contain sorted fields", result.contains("field1field2field3"));
            assertTrue("Result should contain sorted excludes", result.contains("exclude1exclude2exclude3"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

            // Verify that ptype and flags are set correctly using reflection
            try {
                java.lang.reflect.Field ptypeField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("ptype");
                ptypeField.setAccessible(true);
                assertEquals(0, ptypeField.get(msrpcSamrOpenAlias), "ptype should be initialized to 0");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

        this.connection = connection
        connection.calls.add(CallReference(this, callStackTrace))
      }
    
      /**
       * Releases resources held with the request or response of [exchange]. This should be called when
       * the request completes normally or when it fails due to an exception, in which case [e] should
       * be non-null.
       *
       * If the exchange was canceled or timed out, this will wrap [e] in an exception that provides
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/simple-oauth2.md

    ///
    
    ## Return the token { #return-the-token }
    
    The response of the `token` endpoint must be a JSON object.
    
    It should have a `token_type`. In our case, as we are using "Bearer" tokens, the token type should be "`bearer`".
    
    And it should have an `access_token`, with a string containing our access token.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            // Execute the job - should handle empty field name gracefully
            try {
                String result = purgeDocJob.execute();
                // The job should handle the exception internally but since QueryBuilders.rangeQuery
                // throws immediately with empty field name, we need to catch it here
                fail("Expected an exception for empty field name");
            } catch (IllegalArgumentException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top