Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for preserve (0.07 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

         */
        boolean problemsOverflow();
    
        /**
         * Reports a problem: always maintains the counters, but whether problem is preserved in memory, depends on
         * implementation and its configuration.
         *
         * @param problem the problem to report
         * @return {@code true} if passed problem is preserved by this call.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 18 17:30:19 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                assertEquals("Message", exception.getMessage());
                assertNull(exception.getCause());
            });
        }
    
        @Test
        @DisplayName("Should preserve exception hierarchy")
        void testExceptionHierarchy() {
            // When
            RuntimeCIFSException exception = new RuntimeCIFSException("Test");
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/StringsTest.java

                        assertEquals(original, asciiRoundTrip, "ASCII round-trip should preserve content");
                    }
    
                    // Then
                    assertEquals(original, uniRoundTrip, "UNI round-trip should preserve content: " + original);
                }
            }
    
            @Test
            @DisplayName("Strings utility class should not be instantiable")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/PathValidatorTest.java

        }
    
        @Test
        public void testCaseInsensitivity() throws Exception {
            // Windows reserved names should be caught regardless of case
            try {
                validator.validatePath("\\share\\con");
                fail("Should block lowercase reserved name");
            } catch (SmbException e) {
                // Expected
            }
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                        assertTrue(e instanceof TransportException);
                    }
                });
            }
    
            @Test
            @DisplayName("Should preserve IOException behavior")
            void testIOExceptionBehavior() {
                String message = "IO operation failed";
                TransportException exception = new TransportException(message);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            decodedName.decode(decodeBuffer);
    
            // Verify the decoded data matches
            assertEquals(translatedName.sid_type, decodedName.sid_type);
            // The decode process doesn't preserve the original length, it reads from the buffer
            assertNotNull(decodedName.name);
            assertNotNull(decodedName.name.buffer);
            // Buffer length is based on maximum_length/2 from the encoded data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-decom.go

    			pi, err := z.PutObjectPart(ctx, bucket, objInfo.Name, res.UploadID,
    				part.Number,
    				NewPutObjReader(hr),
    				ObjectOptions{
    					PreserveETag: part.ETag, // Preserve original ETag to ensure same metadata.
    					IndexCB: func() []byte {
    						return part.Index // Preserve part Index to ensure decompression works.
    					},
    					NoAuditLog: true,
    				})
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 42.1K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/hash/HashCode.java

          return hash == that.asLong();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Creates a {@code HashCode} from a byte array. The array is defensively copied to preserve the
       * immutability contract of {@code HashCode}. The array cannot be empty.
       *
       * @since 15.0 (since 12.0 in HashCodes)
       */
      public static HashCode fromBytes(byte[] bytes) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FluentIterable.java

       * k, valueFunction))}. {@code ImmutableMap.copyOf(stream.collect(Collectors.toMap(k -> k,
       * valueFunction)))} behaves similarly, but may not preserve the order of entries.
       *
       * @throws NullPointerException if any element of this iterable is {@code null}, or if {@code
       *     valueFunction} produces {@code null} for any key
       * @since 14.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

            queue.add(task);
            return;
          }
    
          oldRunCount = workerRunCount;
    
          // If the worker is not yet running, the delegate Executor might reject our attempt to start
          // it. To preserve FIFO order and failure atomicity of rejected execution when the same
          // Runnable is executed more than once, allocate a wrapper that we know is safe to remove by
          // object identity.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top