Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 500 for res2 (0.08 sec)

  1. cmd/metrics-v3-system-network.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    
    	"github.com/minio/minio/internal/rest"
    )
    
    const (
    	internodeErrorsTotal      MetricName = "errors_total"
    	internodeDialErrorsTotal  MetricName = "dial_errors_total"
    	internodeDialAvgTimeNanos MetricName = "dial_avg_time_nanos"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. cmd/object-lambda-handlers_test.go

    					return obj
    				},
    			}
    			api.GetObjectLambdaHandler(rec, req)
    
    			res := rec.Result()
    			defer res.Body.Close()
    			respBody, _ := io.ReadAll(res.Body)
    
    			if res.StatusCode != expectStatus {
    				t.Errorf("Expected status %d, got %d", expectStatus, res.StatusCode)
    			}
    
    			if contentType != "" {
    				if ct := res.Header.Get("Content-Type"); ct != contentType {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        @DisplayName("Should create response with configuration")
        void testConstructor() {
            // When
            Smb2NegotiateResponse resp = new Smb2NegotiateResponse(mockConfig);
    
            // Then
            assertNotNull(resp);
            assertTrue(resp instanceof ServerMessageBlock2Response);
            assertTrue(resp instanceof SmbNegotiationResponse);
        }
    
        @Test
        @DisplayName("Should return initial credits from getCredit")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            when(fileHandle.getTree()).thenReturn(tree);
    
            // Mock response and send behavior
            Smb2IoctlResponse resp = mock(Smb2IoctlResponse.class);
            when(resp.getOutputLength()).thenReturn(42);
            when(tree.send(any(Smb2IoctlRequest.class), any())).thenReturn(resp);
    
            byte[] out = new byte[10];
            int read = target.sendrecv(new byte[] { 9, 8, 7 }, 0, 3, out, 1024);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. docs/debugging/inspect/export.go

    		}
    		// Skip data...
    		val, buf, e = msgp.ReadBytesZC(buf)
    		if e != nil {
    			return nil, e
    		}
    		if i > 0 {
    			res = append(res, ',')
    		}
    		s := fmt.Sprintf(`"%s":%d`, string(key), len(val))
    		res = append(res, []byte(s)...)
    	}
    	res = append(res, '}')
    	return res, nil
    }
    
    const (
    	xlHeaderVersion = 2
    	xlMetaVersion   = 3
    )
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:38:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. generics.go

    	r := new(T)
    	res := c.g.apply(ctx).Delete(r)
    	return int(res.RowsAffected), res.Error
    }
    
    func (c chainG[T]) Update(ctx context.Context, name string, value any) (rowsAffected int, err error) {
    	var r T
    	res := c.g.apply(ctx).Model(r).Update(name, value)
    	return int(res.RowsAffected), res.Error
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         */
        @Override
        public SmbComNTCreateAndXResponse initResponse(final CIFSContext tc) {
            final SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse(tc.getConfig());
            setResponse(resp);
            return resp;
        }
    
        /**
         * Adds flags to the flags0 field.
         *
         * @param fl
         *            the flags0 to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/archive/tar/strconv.go

    		return "", "", s, ErrHeader
    	}
    	n -= int64(len(nStr) + 1) // convert from index in s to index in rest
    	if n <= 0 {
    		return "", "", s, ErrHeader
    	}
    
    	// Extract everything between the space and the final newline.
    	rec, nl, rem := rest[:n-1], rest[n-1:n], rest[n:]
    	if nl != "\n" {
    		return "", "", s, ErrHeader
    	}
    
    	// The first equals separates the key from the value.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/JoinerTest.java

        if (num >= 0) {
          Object[] rest = new Integer[num];
          for (int i = 0; i < num; i++) {
            rest[i] = partsArray[i + 2];
          }
    
          assertEquals(expected, joiner.join(partsArray[0], partsArray[1], rest));
    
          StringBuilder sb3 = new StringBuilder().append('x');
          joiner.appendTo(sb3, partsArray[0], partsArray[1], rest);
          assertEquals("x" + expected, sb3.toString());
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. docs/en/docs/alternatives.md

    ### <a href="https://www.django-rest-framework.org/" class="external-link" target="_blank">Django REST Framework</a> { #django-rest-framework }
    
    Django REST framework was created to be a flexible toolkit for building Web APIs using Django underneath, to improve its API capabilities.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top