Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1281 - 1290 of 1,612 for EXPECTED (0.06 seconds)

  1. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            Encodable mockInfo = mock(Encodable.class);
            when(mockInfo.size()).thenReturn(100);
            request.setInfo(mockInfo);
    
            int size = request.size();
    
            // Expected size calculation: size8(SMB2_HEADER_LENGTH + 32 + info.size())
            // size8 rounds up to nearest multiple of 8
            int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 32 + 100;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/util/HexdumpTest.java

            Hexdump.hexdump(ps, data, 0, size);
            String output = baos.toString();
    
            assertNotNull(output);
            assertTrue(output.contains("00000:"));
    
            // Calculate expected number of lines
            int expectedLines = (size + 15) / 16;
            String[] lines = output.split(System.getProperty("line.separator"));
            assertTrue(lines.length >= expectedLines);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. cmd/erasure-decode.go

    		}
    		if blockLength == 0 {
    			break
    		}
    
    		var err error
    		bufs, err = reader.Read(bufs)
    		if len(bufs) > 0 {
    			// Set only if there are be enough data for reconstruction.
    			// and only for expected errors, also set once.
    			if errors.Is(err, errFileNotFound) || errors.Is(err, errFileCorrupt) {
    				if derr == nil {
    					derr = err
    				}
    			}
    		} else if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  4. cmd/sftp-server-driver.go

    	}
    
    again:
    	nextOut, ok := w.buffer[w.nextOffset]
    	if ok {
    		n, err = w.w.Write(nextOut)
    		delete(w.buffer, w.nextOffset)
    		w.nextOffset += int64(n)
    		if n != len(nextOut) {
    			return 0, fmt.Errorf("expected write size %d but wrote %d bytes", len(nextOut), n)
    		}
    		if err != nil {
    			return 0, err
    		}
    		goto again
    	}
    
    	return len(b), nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 10 16:35:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            // We add ordering between internal phases.
            // This would be wrong at execution time, but we are here computing a list and not a graph,
            // so in order to obtain the expected order, we add these links between phases.
            Lifecycle.Phase prev = null;
            for (Lifecycle.Phase child : phases) {
                // add phase
                addPhase(graph, before, after, child);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

        }
    
        private String checkAtLeastOneExists(String message, Stream<? extends Class<?>> stream) {
            if (stream.findAny().isPresent()) {
                return "";
            } else {
                return "Expected at least one " + message + ", but found none.";
            }
        }
    
        private boolean seemsLikeATest(Class<?> clazz) {
            try {
                ClassLoader classLoader = clazz.getClassLoader();
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  7. docs/en/docs/management-tasks.md

    * The PR has the labels `lang-all` and `lang-{lang code}`.
    * It is approved by at least one native speaker.
    * In some cases you might need to translate several pages with new prompt to make sure it works as expected.
    
    If the PR meets the above conditions, you can merge it. 😎
    
    ## Review PRs
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

      /** Returns a new {@link Builder}. */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder with a hint for how many distinct keys are expected to be added. The
       * generated builder is equivalent to that returned by {@link #builder}, but may perform better if
       * {@code expectedKeys} is a good estimate.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                    method.setAccessible(true);
                    byte[] targetInfo = (byte[]) method.invoke(null, mockContext, TEST_DOMAIN);
    
                    assertNotNull(targetInfo);
                    // Expected structure: Type (2 bytes) + Length (2 bytes) + Data (Length bytes)
                    // For domain: Type 0x0002 (NetBIOS Domain Name)
                    // For server: Type 0x0001 (NetBIOS Computer Name)
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                // SECURITY WARNING: JWT signature validation is not implemented.
                // This is a critical security vulnerability. The ID token should be validated
                // to ensure it was issued by the expected OpenID Connect provider and has not been tampered with.
                // TODO: Implement JWT signature validation using the provider's public key
    
                final Map<String, Object> attributes = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 16.5K bytes
    - Click Count (0)
Back to Top