Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 1,007 for input (0.05 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary
     * conditions.
     *
     * @author Adam Winer
     */
    @NullUnmarked
    public class CacheBuilderSpecTest extends TestCase {
      public void testParse_empty() {
        CacheBuilderSpec spec = parse("");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                return false;
            }
            return true;
        }
    
        int readCharFromBuffer() throws IOException {
            if (readBufferIndex >= readBufferLen) {
                readBufferLen = input.read(readBuffer);
                if (readBufferLen == -1) {
                    return -1;
                }
                readBufferIndex = 0;
            }
            final int c = readBuffer[readBufferIndex++];
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/generate-clients.md

    ### Generate a TypeScript Client with the Preprocessed OpenAPI { #generate-a-typescript-client-with-the-preprocessed-openapi }
    
    Since the end result is now in an `openapi.json` file, you need to update your input location:
    
    ```sh
    npx @hey-api/openapi-ts -i ./openapi.json -o src/client
    ```
    
    After generating the new client, you would now have **clean method names**, with all the **autocompletion**, **inline errors**, etc:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 10.1K bytes
    - Viewed (1)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

                // Constructor may accept null, so test continues
                assertTrue(true);
            } catch (NullPointerException e) {
                // Expected if constructor validates input
                assertTrue(true);
            }
        }
    
        // Test with different time adjustments
        public void test_withDifferentTimeAdjustments() {
            // Test zero adjustment
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. cmd/xl-storage-meta-inline.go

    		storageLogIf(GlobalContext, err)
    		return buf
    	}
    	// Skip CRC
    	if maj > 1 || minor >= 2 {
    		_, metaBuf, err = msgp.ReadUint32Bytes(metaBuf)
    		storageLogIf(GlobalContext, err)
    	}
    	//   =  input - current pos
    	ends := len(buf) - len(metaBuf)
    	if ends > len(buf) {
    		return buf
    	}
    
    	return buf[:ends]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @Test
        @DisplayName("Test string sanitization for logging")
        void testSanitizeForLogging() {
            // Test null input
            assertEquals("null", InputValidator.sanitizeForLogging(null));
    
            // Test normal string without control characters
            assertEquals("test", InputValidator.sanitizeForLogging("test"));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. cmd/os-readdir_test.go

    package cmd
    
    import (
    	"fmt"
    	"os"
    	"path"
    	"path/filepath"
    	"runtime"
    	"sort"
    	"testing"
    )
    
    // Test to check for different input arguments.
    func TestReadDirFail(t *testing.T) {
    	// Check non existent directory.
    	if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound {
    		t.Fatalf("expected = %s, got: %s", errFileNotFound, err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            assertDoesNotThrow(stream::close);
            verify(handle, never()).ensureOpen();
            verifyNoInteractions(tree, fd);
        }
    
        @Nested
        @DisplayName("Constructor input validation")
        class CtorValidation {
            @Test
            @DisplayName("null handle throws NPE")
            void nullHandle() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

         */
        protected EditBody createEditBody(final StopwordsItem entity, final String dictId) {
            final EditBody body = new EditBody();
            body.id = entity.getId();
            body.dictId = dictId;
            body.input = entity.getInputValue();
            return body;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/CharEscaper.java

        }
        return string;
      }
    
      /**
       * Returns the escaped form of the given character, or {@code null} if this character does not
       * need to be escaped. If an empty array is returned, this effectively strips the input character
       * from the resulting text.
       *
       * <p>If the character does not need to be escaped, this method should return {@code null}, rather
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top