Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 2,585 for Get (0.15 sec)

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

        original.put(1, "foo", 'a');
        assertEquals((Character) 'a', transpose.get("foo", 1));
      }
    
      public void testPutTransposeModifiesOriginal() {
        Table<Integer, String, Character> original = HashBasedTable.create();
        Table<String, Integer, Character> transpose = transpose(original);
        transpose.put("foo", 1, 'a');
        assertEquals((Character) 'a', original.get(1, "foo"));
      }
    
      public void testTransposedViews() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        assertTrue(future.isCancelled());
      }
    
      public void testAwaitClear() {
        WeakReference<Object> ref = new WeakReference<>(new Object());
        GcFinalization.awaitClear(ref);
        assertNull(ref.get());
      }
    
      public void testAwaitDone_finalizationPredicate() {
        WeakHashMap<Object, Object> map = new WeakHashMap<>();
        map.put(new Object(), Boolean.TRUE);
        GcFinalization.awaitDone(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. lib/wasm/wasm_exec.js

    						return;
    					}
    					this.mem.setFloat64(addr, v, true);
    					return;
    				}
    
    				if (v === undefined) {
    					this.mem.setFloat64(addr, 0, true);
    					return;
    				}
    
    				let id = this._ids.get(v);
    				if (id === undefined) {
    					id = this._idPool.pop();
    					if (id === undefined) {
    						id = this._values.length;
    					}
    					this._values[id] = v;
    					this._goRefCounts[id] = 0;
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Dec 08 15:34:47 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. docs/smb3-features/02-persistent-handles-design.md

            HandleInfo info = guidToHandle.get(guid);
            if (info != null) {
                System.arraycopy(fileId, 0, info.fileId, 0, 16);
                if (info.type == HandleType.PERSISTENT) {
                    persistHandle(info);
                }
            }
        }
        
        public HandleInfo getHandleForReconnect(String path) {
            HandleInfo info = handles.get(path);
            if (info != null && !info.isExpired()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                // Some requests should be rejected due to backpressure
                assertTrue(rejectedCount.get() > 0, "Some requests should be rejected by backpressure");
                assertTrue(successCount.get() > 0, "Some requests should succeed");
                assertEquals(5, rejectedCount.get() + successCount.get(), "Total should be 5");
    
            } finally {
                backpressureCircuitBreaker.close();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      public val socketAddress: InetSocketAddress
        get() = socketAddress_ ?: error("call start() first")
    
      public val port: Int
        get() = socketAddress.port
    
      public val hostName: String
        get() = socketAddress.address.hostName
    
      /** Returns the address of this server, to connect to it as an HTTP proxy. */
      public val proxyAddress: Proxy
        get() = Proxy(Proxy.Type.HTTP, socketAddress)
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(connect2.requestLine).isEqualTo("CONNECT android.com:$port HTTP/1.1")
        assertThat(connect2.headers["Proxy-Authorization"]).isEqualTo("password")
    
        val get = server.takeRequest()
        assertThat(get.requestLine).isEqualTo("GET /foo HTTP/2")
        assertThat(get.headers["Proxy-Authorization"]).isNull()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  8. callbacks/row.go

    package callbacks
    
    import (
    	"gorm.io/gorm"
    )
    
    func RowQuery(db *gorm.DB) {
    	if db.Error == nil {
    		BuildQuerySQL(db)
    		if db.DryRun || db.Error != nil {
    			return
    		}
    
    		if isRows, ok := db.Get("rows"); ok && isRows.(bool) {
    			db.Statement.Settings.Delete("rows")
    			db.Statement.Dest, db.Error = db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    		} else {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 08 05:40:41 UTC 2023
    - 581 bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            helper.setDuplicateHostList(testList);
    
            assertEquals(testList, helper.duplicateHostList);
            assertEquals(1, helper.duplicateHostList.size());
            assertEquals("www.test.com", helper.duplicateHostList.get(0).getRegularName());
        }
    
        public void test_add() {
            DuplicateHostHelper helper = new DuplicateHostHelper();
    
            DuplicateHost testHost = new DuplicateHost();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top