Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 6961 - 6970 of 7,804 for RETURN (0.06 seconds)

  1. src/cmd/asm/internal/asm/expr_test.go

    		}
    	}
    }
    
    func runBadTest(i int, test badExprTest, t *testing.T) (err error) {
    	p := NewParser(nil, nil, nil) // Expression evaluation uses none of these fields of the parser.
    	p.start(lex.Tokenize(test.input))
    	return tryParse(t, func() {
    		p.expr()
    	})
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java

      default <R extends @Nullable Object> IThenable<R> then(
          @JsOptional @Nullable IThenOnFulfilledCallbackFn<? super V, ? extends R> onFulfilled,
          @JsOptional @Nullable IThenOnRejectedCallbackFn<? extends R> onRejected) {
        return new Promise<V>(
                (resolve, reject) -> {
                  Futures.addCallback(
                      this,
                      new FutureCallback<V>() {
                        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  3. .github/ISSUE_TEMPLATE/00-bug.yml

      - type: textarea
        id: actual-behavior
        attributes:
          label: "What did you see happen?"
          description: Command invocations and their associated output, functions with their arguments and return results, full stacktraces for panics (upload a file if it is very long), etc. Prefer copying text output over using screenshots.
        validations:
          required: true
    
      - type: textarea
        id: expected-behavior
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  4. .dir-locals.el

              (end-of-line)
              (let ((endpoint (point)))
                (beginning-of-line)
                (if (re-search-forward "[ ]*);$" endpoint t) t nil))))
    
          (defun my/prev-line-call-with-no-args-p ()
            "Return true if the previous line is a function call with no arguments"
            (save-excursion
              (let ((start (point)))
                (forward-line -1)
                (if (re-search-forward ".($" start t) t nil))))
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Apr 14 14:50:53 GMT 2017
    - 3.3K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(SEVERAL)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

        @Test
        void testConstructorWithJcifsSIDArrayAndUnwrap() {
            // Create mock SID objects
            SID mockSid1 = mock(SID.class);
            SID mockSid2 = mock(SID.class);
    
            // Mock the unwrap method to return a sid_t instance
            sid_t sidT1 = new sid_t();
            sid_t sidT2 = new sid_t();
            when(mockSid1.unwrap(sid_t.class)).thenReturn(sidT1);
            when(mockSid2.unwrap(sid_t.class)).thenReturn(sidT2);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PomValidationTask.java

        private final RegularFileProperty pomFile = getProject().getObjects().fileProperty();
    
        private boolean foundError;
    
        @InputFile
        public RegularFileProperty getPomFile() {
            return pomFile;
        }
    
        @TaskAction
        public void checkPom() throws Exception {
            try (FileReader fileReader = new FileReader(pomFile.getAsFile().get())) {
                MavenXpp3Reader reader = new MavenXpp3Reader();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

                assertEquals(
                    "The test should have cleared the stack (say, by virtue of running runTearDown)",
                    0,
                    result.stack.size());
              }
            });
        return result;
      }
    
      private static final class ThrowingTearDown implements TearDown {
    
        private final String id;
        boolean ran = false;
    
        ThrowingTearDown(String id) {
          this.id = id;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

         */
        @Deprecated
        @Override
        public Log getLog() {
            if (log == null) {
                log = new SystemStreamLog();
            }
    
            return log;
        }
    
        @Override
        public Map getPluginContext() {
            return pluginContext;
        }
    
        @Override
        public void setPluginContext(Map pluginContext) {
            this.pluginContext = pluginContext;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. internal/lsync/lrwmutex_test.go

    	if locked {
    		// fmt.Println("Write lock acquired, waiting...")
    		time.Sleep(1 * time.Second)
    
    		lrwm.Unlock()
    	} else {
    		t.Log("Write lock failed due to timeout")
    	}
    	return locked
    }
    
    func TestSimpleWriteLockAcquired(t *testing.T) {
    	locked := testSimpleWriteLock(t, 5*time.Second)
    
    	expected := true
    	if locked != expected {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top