Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 2,345 for add (0.01 sec)

  1. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

      public final int port;
    
      public SlackApi(String clientId, String clientSecret, int port) {
        this.httpClient = new OkHttpClient.Builder()
            .build();
        this.moshi = new Moshi.Builder()
            .add(new SlackJsonAdapters())
            .build();
        this.clientId = clientId;
        this.clientSecret = clientSecret;
        this.port = port;
      }
    
      /** See https://api.slack.com/docs/oauth. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

                String s = updatePolicy.substring(UPDATE_POLICY_INTERVAL.length() + 1);
                int minutes = Integer.parseInt(s);
                Calendar cal = Calendar.getInstance();
                cal.add(Calendar.MINUTE, -minutes);
                if (cal.getTime().after(lastModified)) {
                    checkForUpdates = true;
                }
            }
            // else assume "never"
            return checkForUpdates;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

          multimap.put(entry.getKey(), entry.getValue());
        }
        List<String> actualKeys = new ArrayList<>();
        multimap.keys().spliterator().forEachRemaining(actualKeys::add);
        assertThat(actualKeys)
            .containsExactlyElementsIn(transform(expectedEntries, Entry::getKey))
            .inOrder();
      }
    
      public void testEntriesSpliterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

        }
    
        /**
         * 初期化を行ないます。
         */
        public static void initialize() {
            synchronized (BeanDescFactory.class) {
                if (!initialized) {
                    DisposableUtil.add(BeanDescFactory::clear);
                    initialized = true;
                }
            }
        }
    
        /**
         * キャッシュをクリアします。
         */
        public static void clear() {
            beanDescCache.clear();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

            do {
                FileBothDirectoryInfo cur = createFileInfo();
                if ( cur == null ) {
                    break;
                }
                cur.decode(buffer, bufferIndex, bufferLength);
                infos.add(cur);
                int nextEntryOffset = cur.getNextEntryOffset();
                if ( nextEntryOffset > 0 ) {
                    bufferIndex += nextEntryOffset;
                }
                else {
                    break;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

            List<CtClass> classesContainingMethod = []
    
            CtClass current = c
            while (current != null) {
                if (containsMethod(current, method)) {
                    classesContainingMethod.add(current)
                } else {
                    break
                }
                current = current.getSuperclass()
            }
    
            for (int i = classesContainingMethod.size() - 1; i > 0; --i) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  7. .github/workflows/codeql-analysis.yml

        # ℹ️ Command-line programs to run using the OS shell.
        # 📚 https://git.io/JvXDl
    
        # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
        #    and modify them (or add more) to build your code if your project
        #    uses a compiled language
    
        #- run: |
        #   make bootstrap
        #   make release
    
        - name: Perform CodeQL Analysis
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Fri Oct 02 13:24:14 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

        int expectedHashCode = 0;
        for (E element : elements) {
          expectedHashCode += ((element == null) ? 0 : element.hashCode());
        }
    
        elements.add(null);
        collection = getSubjectGenerator().create(elements.toArray());
        assertEquals(
            "A Set's hashCode() should be the sum of those of its elements (with "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

        runEntryWithNullTest(entryWithNull);
      }
    
      private void runEntryWithNullTest(Entry<K, V> entryWithNull) {
        Collection<Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1);
    
        entries.add(entryWithNull);
    
        int expectedHashCode = 0;
        for (Entry<K, V> entry : entries) {
          expectedHashCode += hash(entry);
        }
    
        resetContainer(getSubjectGenerator().create(entries.toArray()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

            .testEquals();
      }
    
      public void testEqualsFalse() {
        List<Entry<K, V>> targetEntries = new ArrayList<>(getSampleElements());
        targetEntries.add(mapEntry(k0(), v3()));
        new EqualsTester()
            .addEqualityGroup(multimap())
            .addEqualityGroup(getSubjectGenerator().create(targetEntries.toArray()))
            .testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top