Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 229 for cbad (0.02 sec)

  1. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            m.decode_header(buf);
            assertEquals(0, m.ptype);
        }
    
        @Test
        void testDecodeHeaderInvalidVersion() {
            NdrBuffer buf = new NdrBuffer(new byte[10], 0);
            buf.enc_ndr_small(4); // bad major
            buf.enc_ndr_small(0);
            TestMessage msg = new TestMessage();
            assertThrows(NdrException.class, () -> msg.decode_header(buf));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. cmd/object-lambda-handlers_test.go

    			statusCode:   200,
    			body:         "full-object-data",
    			contentType:  "application/json",
    			expectStatus: 200,
    		},
    		{
    			name:         "Client Error 400",
    			statusCode:   400,
    			body:         "bad-request",
    			contentType:  "application/xml",
    			expectStatus: 400,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    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/bufio/bufio_test.go

    	if isPrefix || err != nil || string(line) != line1 {
    		t.Errorf("bad result for first line: isPrefix=%v err=%v line=%q", isPrefix, err, string(line))
    	}
    	n, err := io.Copy(outbuf, l)
    	if int(n) != len(restData) || err != nil {
    		t.Errorf("bad result for Read: n=%d err=%v", n, err)
    	}
    	if outbuf.String() != restData {
    		t.Errorf("bad result for Read: got %q; expected %q", outbuf.String(), restData)
    	}
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  4. cmd/post-policy_test.go

    			secretKey:          credentials.SecretKey,
    			malformedBody:      false,
    		},
    		// Bad case invalid request.
    		{
    			objectName:         "test",
    			data:               []byte("Hello, World"),
    			expectedRespStatus: http.StatusForbidden,
    			accessKey:          "",
    			secretKey:          "",
    			malformedBody:      false,
    		},
    		// Bad case malformed input.
    		{
    			objectName:         "test",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  5. tensorflow/api_template.__init__.py

    this file with a file generated from [`api_template.__init__.py`](https://www.github.com/tensorflow/tensorflow/blob/master/tensorflow/api_template.__init__.py)
    """
    # pylint: disable=g-bad-import-order,protected-access,g-import-not-at-top
    
    import sysconfig as _sysconfig
    import importlib
    import inspect as _inspect
    import os as _os
    import site as _site
    import sys as _sys
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_internal.h

      // TF_DeleteSession.
      // TF_Graph may only / must be deleted when
      //   sessions.size() == 0 && delete_requested == true
      //
      // TODO(b/74949947): mutations currently trigger a warning instead of a bad
      // status, this should be reverted when possible.
      tensorflow::gtl::FlatMap<TF_Session*, tensorflow::string> sessions
          TF_GUARDED_BY(mu);
      bool delete_requested TF_GUARDED_BY(mu);  // set true by TF_DeleteGraph
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. CODE_OF_CONDUCT.md

    
    ## Conflict Resolution
    
    Conflicts in an open source project can take many forms, from someone having a bad day and using harsh and hurtful language in the issue queue, to more serious instances such as sexist/racist statements or threats of violence, and everything in between.
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Feb 05 18:43:16 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

            final SuggestHelper suggestHelper = ComponentUtil.getSuggestHelper();
    
            logger.info("Creating new suggest index.");
            suggestHelper.suggester().createNextIndex();
    
            logger.info("Storing all bad words.");
            suggestHelper.storeAllBadWords(true);
    
            logger.info("Storing all elevate words.");
            suggestHelper.storeAllElevateWords(true);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            }
        }
    
        public void test_multipleExceptions_differentStatusCodes() {
            // Test creating multiple exceptions with different status codes
            WebApiException exception1 = new WebApiException(400, "Bad Request");
            WebApiException exception2 = new WebApiException(401, "Unauthorized");
            WebApiException exception3 = new WebApiException(500, "Internal Error");
    
            assertEquals(400, exception1.getStatusCode());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

        void filterThrows_skipsAndContinues() throws Exception {
            SmbFile parent = newParent();
            List<FileEntry> entries = Arrays.asList(entry("bad", SmbConstants.TYPE_SHARE), entry("good", SmbConstants.TYPE_SHARE));
    
            // First call throws, second accepts
            when(filter.accept(any())).thenThrow(new CIFSException("boom")).thenReturn(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top