Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5541 - 5550 of 6,226 for RETURN (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodsRenderer.java

                hasMethods = true;
            }
            for (ClassExtensionDoc extensionDoc : classDoc.getClassExtensions()) {
                hasMethods |= !extensionDoc.getExtensionMethods().isEmpty();
            }
            return hasMethods;
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertiesRenderer.java

                hasProperties = true;
            }
            for (ClassExtensionDoc extensionDoc : classDoc.getClassExtensions()) {
                hasProperties |= !extensionDoc.getExtensionProperties().isEmpty();
            }
            return hasProperties;
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/DfsReferral.java

        public DfsReferral() {
            this.next = this;
        }
    
        void append(final DfsReferral dr) {
            dr.next = next;
            next = dr;
        }
    
        @Override
        public String toString() {
            return "DfsReferral[pathConsumed=" + pathConsumed + ",server=" + server + ",share=" + share + ",link=" + link + ",path=" + path
                    + ",ttl=" + ttl + ",expiration=" + expiration + ",resolveHashes=" + resolveHashes + "]";
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

        @Test
        void testReadParameterWordsReturnsZero() {
            byte[] buffer = new byte[2];
            int rc = instance.readParameterWordsWireFormat(buffer, 0);
            assertEquals(0, rc, "readParameterWordsWireFormat should return 0 for this SMB");
        }
    
        @Test
        void testWriteBytesReturnsZero() {
            byte[] dst = new byte[1];
            int rc = instance.writeBytesWireFormat(dst, 0);
    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)
Back to Top