Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 2,917 for _shouldn (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            verify(file, times(1)).getAttributes();
        }
    
        @Test
        public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception {
            SmbFile file = mock(SmbFile.class);
            when(file.getAttributes()).thenReturn(SmbFile.ATTR_HIDDEN);
            assertFalse(filter.accept(file), "Attributes not matching should be rejected");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                  case 0:
                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
                  default:
                    throw new AssertionError("Should not have been invoked again");
                }
              }
            };
    
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.next());
    
        // verify idempotence of hasNext()
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. internal/handlers/proxy.go

    		scheme = strings.ToLower(proto)
    	} else if proto := r.Header.Get(forwarded); proto != "" {
    		// match should contain at least two elements if the protocol was
    		// specified in the Forwarded header. The first element will always be
    		// the 'for=', which we ignore, subsequently we proceed to look for
    		// 'proto=' which should precede right after `for=` if not
    		// we simply ignore the values and return empty. This is in line
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
       * {@code setCount()} to throw an exception, as checking the return value could produce an
       * incorrect error message like "setCount() should return the original count" instead of the
       * message passed to a later invocation of {@code fail()}, like "setCount should throw
       * UnsupportedOperationException."
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  5. internal/config/errors.go

    	ErrInvalidCredentials = newErrFn(
    		"Invalid credentials",
    		"Please provide correct credentials",
    		`Access key length should be at least 3, and secret key length at least 8 characters`,
    	)
    
    	ErrInvalidRootUserCredentials = newErrFn(
    		"Invalid credentials",
    		"Please provide correct credentials",
    		EnvRootUser+` length should be at least 3, and `+EnvRootPassword+` length at least 8 characters`,
    	)
    
    	ErrMissingEnvCredentialRootUser = newErrFn(
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

                    .withTest(tempFile.toFile())
                    .ignoreComments()
                    .ignoreWhitespace()
                    .build();
            assertFalse(diff.hasDifferences(), "XML files should be identical: " + diff.toString());
        }
    
        @Test
        void transformJarConsumerPom() throws Exception {
            RepositorySystemSession systemSessionMock = Mockito.mock(RepositorySystemSession.class);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

                assertSame(impl, renewed, "renew() should return the same instance");
            } else if (expectNew) {
                assertNotNull(renewed, "renew() should return a new non-null instance");
                assertNotSame(impl, renewed, "renew() should return a different instance");
                assertTrue(renewed instanceof SmbRenewableCredentials, "renewed credentials should still be SmbRenewableCredentials");
            } else {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. cmd/erasure-object-conditional_test.go

    				// Precondition fails if ETag doesn't match
    				return oi.ETag != "wrong-etag"
    			},
    		}
    
    		_, err := obj.PutObject(ctx, bucket, object,
    			mustGetPutObjReader(t, bytes.NewReader([]byte("should-fail")),
    				int64(len("should-fail")), "", ""), opts)
    		if !isErrReadQuorum(err) {
    			t.Errorf("Expected read quorum error when if-match is used with quorum failure (even with wrong ETag), got: %v", err)
    		}
    	})
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbFileFilter.java

     * when listing directory contents in SMB shares.
     */
    public interface SmbFileFilter {
    
        /**
         * Tests whether the specified SMB file should be included in a file list.
         *
         * @param file the SMB file to test for inclusion
         * @return whether the given file should be included
         * @throws SmbException if an error occurs while accessing the file
         */
        boolean accept(SmbFile file) throws SmbException;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbFilenameFilter.java

     */
    public interface SmbFilenameFilter {
    
        /**
         * Tests whether the specified filename should be included in a file list.
         *
         * @param dir the directory containing the file
         * @param name the name of the file
         * @return whether the given filename should be included
         * @throws SmbException if an SMB error occurs during evaluation
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top