Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 771 - 780 of 4,419 for getA (0.03 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProviderTest.java

            provider.adjustActionResponseHeaders("application/xml", (k, v) -> headerMap.put(k, v));
            assertEquals(2, headerMap.size());
            assertEquals("def", headerMap.get("X-Def"));
            assertEquals("def2", headerMap.get("X-Def2"));
        }
    
        @Test
        public void test_write_defaultAndSpecificHtml() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

            this.setSubCommand(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION);
        }
    
        /**
         * Gets the information level that was queried.
         *
         * @return the informationLevel
         */
        public int getInformationLevel() {
            return this.informationLevel;
        }
    
        /**
         * Gets the file system information from the response.
         *
         * @return the filesystem info
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

        AtomicInteger runCalled = new AtomicInteger();
        list.add(runCalled::getAndIncrement, directExecutor());
        list.execute();
        assertEquals(1, runCalled.get());
        list.execute();
        assertEquals(1, runCalled.get());
      }
    
      public void testExecute_idempotentConcurrently() throws InterruptedException {
        CountDownLatch okayToRun = new CountDownLatch(1);
        AtomicInteger runCalled = new AtomicInteger();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertEquals(2, factory.count);
        assertThat(multimap.get(Color.BLUE).toString()).isEqualTo("[3, 1, 4]");
    
        Multimap<Color, Integer> ummodifiable = Multimaps.unmodifiableMultimap(multimap);
        assertThat(ummodifiable.get(Color.BLUE).toString()).isEqualTo("[3, 1, 4]");
    
        Collection<Integer> collection = multimap.get(Color.BLUE);
        // Explicitly call `equals`; `assertEquals` might return fast
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 39.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/ResourceManager.java

                    active++;
                }
            }
    
            return Map.of("totalAllocated", totalAllocated.get(), "totalReleased", totalReleased.get(), "totalLeaks", totalLeaks.get(),
                    "activeResources", active, "closedResources", closed, "trackedResources", activeResources.size());
        }
    
        /**
         * Get active resource information
         *
         * @return set of active resource descriptions
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java

      public void testGet_valid() {
        // This calls get() on each index and checks the result:
        expectContents(createOrderedArray());
      }
    
      public void testGet_negative() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().get(-1));
      }
    
      public void testGet_tooLarge() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().get(getNumElements()));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

        }
    
        public void test_ofNull() {
            assertEquals(0, (int) StreamUtil.stream().get(s -> s.toArray().length));
            Object[] o = {};
            assertEquals(0, (int) StreamUtil.stream(o).get(s -> s.toArray().length));
            Map<Object, Object> map = new HashMap<Object, Object>();
            assertEquals(0, (int) StreamUtil.stream(map).get(s -> s.toArray().length));
        }
    
        public void test_ofMap() {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. tests/main_test.go

    	}
    }
    
    func TestSetAndGet(t *testing.T) {
    	if value, ok := DB.Set("hello", "world").Get("hello"); !ok {
    		t.Errorf("Should be able to get setting after set")
    	} else if value.(string) != "world" {
    		t.Errorf("Set value should not be changed")
    	}
    
    	if _, ok := DB.Get("non_existing"); ok {
    		t.Errorf("Get non existing key should return error")
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                oplockLevelField.setAccessible(true);
                assertEquals(expectedOplockLevel, oplockLevelField.get(notification));
    
                Field fileIdField = Smb2OplockBreakNotification.class.getDeclaredField("fileId");
                fileIdField.setAccessible(true);
                assertArrayEquals(expectedFileId, (byte[]) fileIdField.get(notification));
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

         *
         * @return true if successful
         */
        public boolean isSuccess() {
            return status == STATUS_SUCCESS;
        }
    
        // Getters and setters
    
        /**
         * Get the minimum SMB Direct protocol version
         *
         * @return minimum protocol version
         */
        public int getMinVersion() {
            return minVersion;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top