Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 643 for sama (0.96 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

        void setup() {
            // Tree handle lifecycle and config
            lenient().when(tree.acquire()).thenReturn(tree);
            lenient().when(tree.isConnected()).thenReturn(true);
    
            // CIFS context returns same config to build responses during initResponse
            lenient().when(cifsContext.getConfig()).thenReturn(config);
        }
    
        @AfterEach
        void teardown() {
            // No global state to reset beyond mocks
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                    if (sides.size() > 1) { // explicit mapping
                        if (sides.size() != 2) {
                            throw new DictionaryException("more than one explicit mapping specified on the same line");
                        }
                        final List<String> inputStrings = split(sides.get(0), ",");
                        inputs = new String[inputStrings.size()];
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<? super Integer, Y> g = SerializableTester.reserializeAndAssert(f);
        for (int i = 1; i < 5; i++) {
          // convoluted way to check that the same result happens from each
          Y expected = null;
          try {
            expected = f.apply(i);
          } catch (IllegalArgumentException e) {
            try {
              g.apply(i);
              fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.encryptionKey = originalKey;
    
            // When - modify the original array
            originalKey[0] = (byte) 0xFF;
    
            // Then - the field should also be modified (same reference)
            assertEquals((byte) 0xFF, serverData.encryptionKey[0]);
            assertSame(originalKey, serverData.encryptionKey);
        }
    
        /**
         * Test multiple ServerData instances are independent
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. ci/official/utilities/code_check_full.bats

                false
            fi
        done
    }
    
    @test "No duplicate files on Windows" {
        cat <<EOF
    Please rename files so there are no repeats. For example, README.md and
    Readme.md would be the same file on Windows. In this test, you would get a
    warning for "readme.md" because it makes everything lowercase. There are
    repeats of these filename(s) with different casing:
    EOF
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Aug 06 20:43:08 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    	}
    	{
    		tw := &teststringwriter{}
    		b := NewWriterSize(tw, BufSize)
    		b.Write([]byte("abc")) // same as above, but use Write instead of WriteString
    		tw.check(t, "", "")
    		b.WriteString("123456789012345")
    		tw.check(t, "abc12345", "6789012345") // same as above
    	}
    }
    
    type teststringwriter struct {
    	write       string
    	writeString string
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<? super Integer, Y> g = SerializableTester.reserializeAndAssert(f);
        for (int i = 1; i < 5; i++) {
          // convoluted way to check that the same result happens from each
          Y expected = null;
          try {
            expected = f.apply(i);
          } catch (IllegalArgumentException e) {
            try {
              g.apply(i);
              fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            // Given
            smbComTreeDisconnect = new SmbComTreeDisconnect(config);
            byte[] buffer = new byte[100];
    
            // When & Then - multiple calls should return the same result
            for (int i = 0; i < 10; i++) {
                assertEquals(0, smbComTreeDisconnect.writeParameterWordsWireFormat(buffer, i));
                assertEquals(0, smbComTreeDisconnect.writeBytesWireFormat(buffer, i));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/AllocInfoTest.java

                // Given
                long capacity = 1000L;
                long free = 500L;
                TestAllocInfo allocInfo = new TestAllocInfo(capacity, free);
    
                // When - multiple calls should return same values
                long firstCapacityCall = allocInfo.getCapacity();
                long secondCapacityCall = allocInfo.getCapacity();
                long firstFreeCall = allocInfo.getFree();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      }
    
      /** Creates an {@code AtomicLongMap}. */
      public static <K> AtomicLongMap<K> create() {
        return new AtomicLongMap<>(new ConcurrentHashMap<>());
      }
    
      /** Creates an {@code AtomicLongMap} with the same mappings as the specified {@code Map}. */
      public static <K> AtomicLongMap<K> create(Map<? extends K, ? extends Long> m) {
        AtomicLongMap<K> result = create();
        result.putAll(m);
        return result;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top