Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 78 for setMap (0.12 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

    public class BiMapInverseTester<K, V> extends AbstractBiMapTester<K, V> {
    
      public void testInverseSame() {
        assertSame(getMap(), getMap().inverse().inverse());
      }
    
      @CollectionFeature.Require(SERIALIZABLE)
      public void testInverseSerialization() {
        BiMapPair<K, V> pair = new BiMapPair<>(getMap());
        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/AbstractPropertyJavaInterOpIntegrationTest.groovy

                            Map<Integer, Boolean> map = new LinkedHashMap<>();
                            map.put(1, true);
                            map.put(2, false);
                            t.getMap().set(map);
                        });
                    }
                }
            """
        }
    
        @Override
        void pluginSetsCalculatedValuesUsingCallable() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    			if (i > 5000) {
    				fprintf(stderr, "looping too long waiting for SIGPIPE\n");
    				exit(EXIT_FAILURE);
    			}
    		}
    	}
    
    	if (verbose) {
    		printf("calling setjmp\n");
    	}
    
    	// Test that a SIGSEGV on this thread is delivered to us.
    	if (setjmp(jmp) == 0) {
    		if (verbose) {
    			printf("triggering SIGSEGV\n");
    		}
    
    		*nullPointer = '\0';
    
    		fprintf(stderr, "continued after address error\n");
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. src/runtime/signal_loong64.go

    	// Always save LINK to stack so that panics in leaf
    	// functions are correctly handled. This smashes
    	// the stack frame but we're not going back there
    	// anyway.
    	sp := c.sp() - goarch.PtrSize
    	c.set_sp(sp)
    	*(*uint64)(unsafe.Pointer(uintptr(sp))) = c.link()
    
    	pc := gp.sigpc
    
    	if shouldPushSigpanic(gp, pc, uintptr(c.link())) {
    		// Make it look the like faulting PC called sigpanic.
    		c.set_link(uint64(pc))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 06:51:28 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go

    }
    
    func doinit() {
    	if err := readHWCAP(); err != nil {
    		// We failed to read /proc/self/auxv. This can happen if the binary has
    		// been given extra capabilities(7) with /bin/setcap.
    		//
    		// When this happens, we have two options. If the Linux kernel is new
    		// enough (4.11+), we can read the arm64 registers directly which'll
    		// trap into the kernel and then return back to userspace.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/runtime/signal_arm64.go

    	// functions are correctly handled. This smashes
    	// the stack frame but we're not going back there
    	// anyway.
    	sp := c.sp() - sys.StackAlign // needs only sizeof uint64, but must align the stack
    	c.set_sp(sp)
    	*(*uint64)(unsafe.Pointer(uintptr(sp))) = c.lr()
    	// Make sure a valid frame pointer is saved on the stack so that the
    	// frame pointer checks in adjustframe are happy, if they're enabled.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 18:16:00 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/runtime/export_debug_ppc64le_test.go

    }
    
    func sigctxtStatus(ctxt *sigctxt) uint64 {
    	return ctxt.r20()
    }
    
    func (h *debugCallHandler) saveSigContext(ctxt *sigctxt) {
    	sp := ctxt.sp()
    	sp -= 4 * goarch.PtrSize
    	ctxt.set_sp(sp)
    	*(*uint64)(unsafe.Pointer(uintptr(sp))) = ctxt.link() // save the current lr
    	ctxt.set_link(ctxt.pc())                              // set new lr to the current pc
    	// Write the argument frame size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/test/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelCheckerTest.groovy

            }
        }
    
        private DummyMapModel dummyMapModel(Map<String, ? extends DummyModel> values) {
            return new DummyMapModel() {
                @Override
                Map<String, ? extends DummyModel> getMap() {
                    return values
                }
            }
        }
    
        interface DummyModel {
            String getValue()
        }
    
        interface DummyCompositeModel {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  9. src/runtime/signal_ppc64x.go

    	// Always save LINK to stack so that panics in leaf
    	// functions are correctly handled. This smashes
    	// the stack frame but we're not going back there
    	// anyway.
    	sp := c.sp() - sys.MinFrameSize
    	c.set_sp(sp)
    	*(*uint64)(unsafe.Pointer(uintptr(sp))) = c.link()
    
    	pc := gp.sigpc
    
    	if shouldPushSigpanic(gp, pc, uintptr(c.link())) {
    		// Make it look the like faulting PC called sigpanic.
    		c.set_link(uint64(pc))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/GeneralTests.java

        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            String response = checkGetMethod(searchBody, "").asString();
            final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");
            assertTrue(!res.isEmpty());
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top