Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 2,346 for result (0.06 seconds)

  1. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

            int result = smbComNegotiate.readBytesWireFormat(buffer, bufferIndex);
            assertEquals(0, result, "readBytesWireFormat should return 0.");
        }
    
        /**
         * Test the toString method.
         * It should return a string representation of the SmbComNegotiate object.
         */
        @Test
        void testToString() {
            String result = smbComNegotiate.toString();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy

            @Override
            public String toString() {
                String result = "$path[$start:$end]"
                if (language != null) {
                    result += "($language)"
                }
                if (console != null) {
                    result += console ? '// CONSOLE' : '// NOTCONSOLE'
                }
                if (test) {
                    result += '// TEST'
                    if (testEnv != null) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 10:08:26 GMT 2021
    - 17.8K bytes
    - Click Count (0)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

              current.mappedTo,
            )
        } else {
          result += current
          current = if (i.hasNext()) i.next() else break
        }
      }
    
      return result
    }
    
    /** Returns a copy of [mappings] with adjacent ranges merged wherever possible. */
    internal fun mergeAdjacentRanges(mappings: List<Mapping>): List<Mapping> {
      var index = 0
      val result = mutableListOf<Mapping>()
    
      while (index < mappings.size) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

        protected boolean set(@Nullable V value) {
          boolean result = sync.set(value);
          if (result) {
            executionList.execute();
          }
          return result;
        }
    
        /**
         * Subclasses should invoke this method to set the result of the computation to an error, {@code
         * throwable}. This will set the state of the future to {@link OldAbstractFuture.Sync#COMPLETED}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                String result = nc.toString();
    
                // Should contain hex representation of 0-15
                assertTrue(result.contains("0x"));
                assertTrue(result.contains("dc=LARGEDC"));
                // The hex string should be 32 chars long (16 bytes * 2)
                String hexPart = result.substring(result.indexOf("0x") + 2, result.indexOf(",dc="));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                // Fill rest of buffer with garbage
                for (int i = 2; i < buffer.length; i++) {
                    buffer[i] = (byte) 0xFF;
                }
    
                // Should only read the structure size (2 bytes) and not go beyond
                int result = echoResponse.readBytesWireFormat(buffer, bufferIndex);
                assertEquals(0, result);
            }
        }
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        @Override
        @ParametricNullness
        public T next() {
          if (!hasNext()) {
            throw new NoSuchElementException();
          }
          T result = result(entryIndex);
          toRemove = entryIndex;
          entryIndex = backingMap.nextIndex(entryIndex);
          return result;
        }
    
        @Override
        public void remove() {
          checkForConcurrentModification();
          CollectPreconditions.checkRemove(toRemove != -1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

        Sample proxy = service.newProxy(target, Sample.class, ENOUGH_MS, MILLISECONDS);
        Stopwatch stopwatch = Stopwatch.createStarted();
    
        String result = proxy.sleepThenReturnInput("x");
    
        assertThat(result).isEqualTo("x");
        assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS));
        assertThat(target.finished).isTrue();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

            protected volatile String[] permissions;
    
            /** Entra ID authentication result. */
            protected IAuthenticationResult authResult;
    
            /**
             * Constructs an Entra ID user with the authentication result.
             * @param authResult The authentication result from Entra ID.
             */
            public EntraIdUser(final IAuthenticationResult authResult) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  10. tests/gaussdb_test.go

    	thing2 := Thing{
    		SomeID:  "1234",
    		OtherID: "1234",
    		Data:    "something else",
    	}
    
    	result := DB.Clauses(clause.OnConflict{
    		OnConstraint: "some_id_other_id_unique",
    		UpdateAll:    true,
    	}).Create(&thing2)
    	if result.Error != nil {
    		t.Errorf("creating second thing: %v", result.Error)
    	}
    
    	var things []Thing
    	if err := DB.Find(&things).Error; err != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top