Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 99 for Treat (0.03 seconds)

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

  1. architecture/standards/0006-use-of-provider-apis-in-gradle.md

        }
    }
    
    // in plugin
    existingThing = objects.newInstance(DefaultExistingThing.class)
    existingThing.convention("some-value")
    ```
    
    It's not acceptable to treat an unset Provider as if the convention is requested when the convention could be set elsewhere:
    
    ```groovy
    public interface NewThing {
        Property<String> getSomeProperty()
    }
    
    // Unacceptable
    String value
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Oct 15 20:00:57 GMT 2024
    - 10K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            assertArrayEquals(blob, resp.getBlob());
            assertEquals(0, resp.getSessionFlags());
            assertFalse(resp.isLoggedInAsGuest());
        }
    
        @Test
        @DisplayName("Decode with ACCESS_DENIED should treat as error response")
        void testDecodeErrorResponsePath() throws Exception {
            Smb2SessionSetupResponse resp = newResponse();
    
            byte[] buf = new byte[256];
            int headerStart = 0;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/query/QueryCommand.java

            }
    
            if (isSearchField(field)) {
                return fieldBuilder.buildQuery(field, text, boost);
            }
    
            // Fallback: treat as default field query
            context.addFieldLog(Constants.DEFAULT_FIELD, text);
            return buildDefaultQueryBuilder(fessConfig, context, defaultBuilder);
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sun Nov 23 11:39:05 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                        }
                        context.success("Model upgrade completed");
                        modifiedPoms.add(pomPath);
                    } else {
                        // Treat invalid upgrades (including downgrades) as errors, not warnings
                        context.failure("Cannot upgrade from " + currentVersion + " to " + targetModelVersion);
                        errorPoms.add(pomPath);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                        c = Character.codePointAt(both, 0);
                        i++;
                    } catch (IndexOutOfBoundsException ex) {
                        // high surrogate without low surrogate. Not a lot we can do here except treat it as a regular
                        // character
                    }
                }
    
                if (c == '.') {
                    if (i == startIndex) {
                        list.add(IntItem.ZERO);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java

            assertTrue(options.all().get(), "--all option should be true");
    
            // The plugins option itself won't be set, but the logic in BaseUpgradeGoal
            // should treat --all as enabling plugins
            assertFalse(options.plugins().isPresent(), "--plugins option should not be explicitly set when using --all");
        }
    
        @Test
        void testLongFormPluginsOption() throws ParseException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:48:39 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/primitives/UnsignedInteger.java

    /**
     * A wrapper class for unsigned {@code int} values, supporting arithmetic operations.
     *
     * <p>In some cases, when speed is more important than code readability, it may be faster simply to
     * treat primitive {@code int} values as unsigned, using the methods from {@link UnsignedInts}.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/primitives/UnsignedLong.java

    /**
     * A wrapper class for unsigned {@code long} values, supporting arithmetic operations.
     *
     * <p>In some cases, when speed is more important than code readability, it may be faster simply to
     * treat primitive {@code long} values as unsigned, using the methods from {@link UnsignedLongs}.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            block.headerStart = 0;
    
            byte[] buf = new byte[64];
            buf[0] = 4; // wordCount
            buf[1] = 0x42; // andxCommand
            // andxOffset = 0 triggers workaround -> treat as no andx
            ServerMessageBlock.writeInt2(0, buf, 3);
            ServerMessageBlock.writeInt2(10, buf, 9); // byteCount
    
            int n = block.readAndXWireFormat(buf, 0);
            assertTrue(n > 0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          setException(e);
          return;
        } catch (Error e) {
          /*
           * StackOverflowError, OutOfMemoryError (e.g., from allocating ExecutionException), or
           * something. Try to treat it like a RuntimeException. If we overflow the stack again, the
           * resulting Error will propagate upward up to the root call to set().
           */
          setException(e);
          return;
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
Back to Top