Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 1,187 for Different (0.07 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readDataWireFormat(buffer, 0, buffer.length);
            });
        }
    
        @DisplayName("Test readDataWireFormat with different buffer offsets")
        @ParameterizedTest
        @ValueSource(ints = { 0, 10, 50, 100 })
        void testReadDataWireFormatWithDifferentOffsets(int offset) throws Exception {
            // Create a buffer large enough for offset + data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                // Verify reserved field is zeros (4 bytes)
                assertEquals(0, SMBUtil.readInt4(buffer, 20));
            }
    
            @Test
            @DisplayName("Should encode at different buffer positions")
            void testEncodingAtDifferentPositions() {
                long offset = 1000L;
                long length = 2000L;
                int flags = Smb2Lock.SMB2_LOCKFLAG_UNLOCK;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

                };
            });
        }
    
        @Test
        @DisplayName("Complex scenario with multiple filter conditions")
        void complexFilterScenario() throws Exception {
            // Setup: three entries with different filter results
            FileEntry entry1 = mock(FileEntry.class);
            FileEntry entry2 = mock(FileEntry.class);
            FileEntry entry3 = mock(FileEntry.class);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/extra-models.md

    ## Recap { #recap }
    
    Use multiple Pydantic models and inherit freely for each case.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  5. src/bytes/compare_test.go

    	for _, len := range lengths {
    		// randomish but deterministic data. No 0 or 255.
    		for i := 0; i < len; i++ {
    			a[i] = byte(1 + 31*i%254)
    			b[i] = byte(1 + 31*i%254)
    		}
    		// data past the end is different
    		for i := len; i <= n; i++ {
    			a[i] = 8
    			b[i] = 9
    		}
    		cmp := Compare(a[:len], b[:len])
    		if cmp != 0 {
    			t.Errorf(`CompareIdentical(%d) = %d`, len, cmp)
    		}
    		if len > 0 {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                Map<Path, Document> pomMap = Map.of(
                        Paths.get("pom.xml"), mock(Document.class),
                        Paths.get("module/pom.xml"), mock(Document.class));
    
                // Mock strategies with different results
                when(mockStrategies.get(0).isApplicable(context)).thenReturn(true);
                when(mockStrategies.get(0).apply(Mockito.eq(context), Mockito.any()))
                        .thenReturn(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

            // Set null customizer
            pagerCreator.setPagerCustomizer(null);
            assertNull(pagerCreator.getPagerCustomizer());
        }
    
        // Test with different NamingConvention configurations
        @Test
        public void test_constructor_with_custom_naming_convention() {
            // Create custom naming convention
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                     * so. We cannot just comment out this method and use readString of
                     * ServerMessageBlock.java because the arguments are different, however
                     * one might be able to reduce this.
                     */
    
                    if (len > 0 && src[srcIndex + len - 1] == '\0') {
                        len--;
                    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Queues.java

            buffer.add(e);
            added++;
          }
        }
        return added;
      }
    
      /**
       * Drains the queue as {@linkplain #drain(BlockingQueue, Collection, int, Duration)}, but with a
       * different behavior in case it is interrupted while waiting. In that case, the operation will
       * continue as usual, and in the end the thread's interruption status will be set (no {@code
       * InterruptedException} is thrown).
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       then as many exception-testing methods as there are exceptions the method can throw.
     *       Sometimes there are multiple tests per JSR166 method when the different "normal" behaviors
     *       differ significantly. And sometimes testcases cover multiple methods when they cannot be
     *       tested in isolation.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
Back to Top