Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,269 for inte (0.03 sec)

  1. src/bufio/bufio_test.go

    }
    
    func TestReaderDiscard(t *testing.T) {
    	tests := []struct {
    		name     string
    		r        io.Reader
    		bufSize  int // 0 means 16
    		peekSize int
    
    		n int // input to Discard
    
    		want    int   // from Discard
    		wantErr error // from Discard
    
    		wantBuffered int
    	}{
    		{
    			name:         "normal case",
    			r:            strings.NewReader("abcdefghijklmnopqrstuvwxyz"),
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  2. gorm.go

    	Logger                   logger.Interface
    	NowFunc                  func() time.Time
    	CreateBatchSize          int
    }
    
    // Open initialize db session based on dialector
    func Open(dialector Dialector, opts ...Option) (db *DB, err error) {
    	config := &Config{}
    
    	sort.Slice(opts, func(i, j int) bool {
    		_, isConfig := opts[i].(*Config)
    		_, isConfig2 := opts[j].(*Config)
    		return isConfig && !isConfig2
    	})
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

         * - Positive values not in DOS_ERROR_CODES map to NT_STATUS_UNSUCCESSFUL
         */
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 123, -7 })
        void testGetNtStatusVariousCodes(int errcode) {
            SmbException ex = new SmbException(errcode, false);
            int expected;
            if (errcode == 0) {
                expected = 0;
            } else if ((errcode & 0xC0000000) != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/events.md

    ### Async Context Manager { #async-context-manager }
    
    If you check, the function is decorated with an `@asynccontextmanager`.
    
    That converts the function into something called an "**async context manager**".
    
    {* ../../docs_src/events/tutorial003.py hl[1,13] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbNamedPipe.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbFile#getType()
         */
        @Override
        public int getType() throws SmbException {
            return TYPE_NAMED_PIPE;
        }
    
        /**
         * @return the pipe type
         */
        @Override
        public int getPipeType() {
            return this.pipeType;
        }
    
        /**
         * @return a handle for interacting with the pipe
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

        loggerName: String,
        logLevel: Int,
        message: String,
        t: Throwable? = null,
      ) {
        val tag = loggerTag(loggerName)
    
        if (Log.isLoggable(tag, logLevel)) {
          var logMessage = message
          if (t != null) logMessage = logMessage + '\n'.toString() + Log.getStackTraceString(t)
    
          // Split by line, then ensure each line can fit into Log's maximum length.
          var i = 0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

       */
      public void add(Runnable runnable, Executor executor) {
        // Fail fast on a null. We throw NPE here because the contract of Executor states that it throws
        // NPE on null listener, so we propagate that contract up into the add method as well.
        checkNotNull(runnable, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
    
        // Lock while we check state. We must maintain the lock while adding the new pair so that
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/util/StringUtilTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Should handle various element counts")
        @ValueSource(ints = { 1, 2, 5, 10, 20, 50, 100 })
        void testJoinWithVariousElementCounts(int count) {
            CharSequence[] elements = new CharSequence[count];
            for (int i = 0; i < count; i++) {
                elements[i] = String.valueOf(i);
            }
            String result = StringUtil.join(",", elements);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

         * most 3 components (not including the first index which is always empty):
         * result[0] = ""
         * result[1] = "fs1.example.com"
         * result[2] = "root5"
         * result[3] = "link2\foo\bar.txt"
         */
        private static int dfsPathSplit(final String path, final String[] result) {
            int ri = 0;
            final int rlast = result.length - 1;
            int i = 0, b = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmUtilTest.java

        Configuration configuration;
    
        // Helper: decode hex string to bytes
        private static byte[] hex(String s) {
            String clean = s.replaceAll("[^0-9A-Fa-f]", "");
            int len = clean.length();
            byte[] out = new byte[len / 2];
            for (int i = 0; i < len; i += 2) {
                out[i / 2] = (byte) Integer.parseInt(clean.substring(i, i + 2), 16);
            }
            return out;
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top