Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 1,181 for first (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
        List<Integer> first = partitions.next();
    
        // Changes after are not
        list.set(0, 4);
    
        assertEquals(ImmutableList.of(3), first);
      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            final String customPath = "/api/v1/dynamic";
            mockRequest.setServletPath(originalPath);
    
            webApiRequest = new WebApiRequest(mockRequest, customPath);
    
            // First call without SAStruts.method
            mockRequest.setQueryString("query=test");
            assertEquals(customPath, webApiRequest.getServletPath());
    
            // Second call with SAStruts.method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

        class IntegrationTests {
    
            @Test
            @DisplayName("Should maintain state after multiple reads")
            void testMultipleReads() throws SMBProtocolDecodingException {
                // First read
                byte[] buffer1 = createValidWriteResponse(1024, 512);
                response.readBytesWireFormat(buffer1, 0);
                assertEquals(1024, response.getCount());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        @DisplayName("Should handle sequential operations")
        void testSequentialOperations() {
            // Given
            request.setNotifyFlags(0);
            request.setCompletionFilter(0);
    
            // When - first write
            byte[] buffer1 = new byte[512];
            request.writeBytesWireFormat(buffer1, 0);
    
            // Update values
            request.setNotifyFlags(Smb2ChangeNotifyRequest.SMB2_WATCH_TREE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SSPContextTest.java

                assertTrue(ctx.isMICAvailable(), "MIC available when established + integrity");
    
                assertTrue(ctx.isSupported(mech1), "mech1 supported");
                assertTrue(ctx.isPreferredMech(mech1), "first supported is preferred");
                assertArrayEquals(new ASN1ObjectIdentifier[] { mech1, mech2 }, ctx.getSupportedMechs(), "supported mechs");
    
                // MIC roundtrip: calculate then verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  6. tests/scanner_valuer_test.go

    		t.Errorf("Should not raise any error, but got %v", err)
    	}
    
    	if result.Age.Int64 != 18 {
    		t.Errorf("should update age to 18")
    	}
    
    	var result2 ScannerValuerStruct
    	if err := DB.First(&result2, result.ID).Error; err != nil {
    		t.Errorf("got error %v when query with %v", err, result.ID)
    	}
    
    	AssertObjEqual(t, result2, result, "ID", "CreatedAt", "UpdatedAt", "Name", "Gender", "Age")
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. callbacks/preload.go

    	if embeddedRelations == nil {
    		return nil
    	}
    	names := make([]string, 0, len(embeddedRelations.Relations)+len(embeddedRelations.EmbeddedRelations))
    	for _, relation := range embeddedRelations.Relations {
    		// skip first struct name
    		names = append(names, strings.Join(relation.Field.EmbeddedBindNames[1:], "."))
    	}
    	for _, relations := range embeddedRelations.EmbeddedRelations {
    		names = append(names, embeddedValues(relations)...)
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

      @Override
      public void runTest() throws Exception {
        /*
         * Note that we do not run this test under Android at the moment. For Android testing, see
         * AbstractFutureDefaultAtomicHelperTest.
         */
    
        // First, ensure that our classloaders are initializing the correct helper versions:
    
        checkHelperVersion(getClass().getClassLoader(), "AtomicReferenceFieldUpdaterAtomicHelper");
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            final byte[] nonce = new byte[isGCMCipher() ? 16 : 12];
    
            if (isGCMCipher()) {
                // SMB 3.1.1 GCM: 96-bit random/fixed + 32-bit counter for guaranteed uniqueness
                // Fill first 12 bytes with random data
                secureRandom.nextBytes(nonce);
    
                // Last 4 bytes: incrementing counter for guaranteed uniqueness
                final long counter = this.nonceCounter.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

            fessConfig = new FessConfigImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String get(String propertyKey) {
                    // Check system properties first (with prefix)
                    String systemValue = System.getProperty(Constants.FESS_CONFIG_PREFIX + propertyKey);
                    if (systemValue != null) {
                        return systemValue;
                    }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top