Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 86 for setSource (0.06 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

            this.source = source;
            this.model = model;
            setGroupId(groupId);
            setArtifactId(artifactId);
            setVersion(version);
        }
    
        public ModelSource getSource() {
            return source;
        }
    
        /**
         * Gets the model being wrapped.
         *
         * @return The model or {@code null} if not set.
         */
        public Model getModel() {
            return model;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        .filter(p -> p.getLocation("version") != null
                                && p.getLocation("version").getSource() != null
                                && defaulModelId.equals(
                                        p.getLocation("version").getSource().getModelId()))
                        .distinct()
                        .map(Plugin::getArtifactId) // managed by us, groupId is always o.a.m.plugins
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/entity/ChatMessage.java

            return sources;
        }
    
        /**
         * Sets the list of sources referenced in the message.
         *
         * @param sources the list of sources
         */
        public void setSources(final List<ChatSource> sources) {
            this.sources = sources;
        }
    
        /**
         * Adds a source to the message.
         *
         * @param source the source to add
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 04:52:31 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java

            String[][] readings = { { "test" } };
    
            SuggestItem item = new SuggestItem(text, readings, null, 10L, 20L, 2.0f, null, null, null, SuggestItem.Kind.QUERY);
    
            Map<String, Object> source = item.getSource();
            float expectedScore = (10L + 20L) * 2.0f; // (docFreq + queryFreq) * userBoost
            assertEquals(expectedScore, (Float) source.get(FieldNames.SCORE), 0.001f);
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Jan 17 05:10:37 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  5. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

          <codeSegments>
            <codeSegment>
              <version>1.2.0+</version>
              <code>
    
        @Override
        public String toString() {
            return getLineNumber() + " : " + getColumnNumber() + ", " + getSource();
        }
              </code>
            </codeSegment>
          </codeSegments>
        </class>
        <class sourceTracker="source">
          <name>InputSource</name>
          <version>1.2.0+</version>
          <fields>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        cache.remove("a")
      }
    
      @Test
      fun readingTheSameStreamMultipleTimes() {
        set("a", "a", "b")
        val snapshot = cache["a"]!!
        assertThat(snapshot.getSource(0)).isSameInstanceAs(snapshot.getSource(0))
        snapshot.close()
      }
    
      @Test
      fun rebuildJournalOnRepeatedReads() {
        set("a", "a", "a")
        set("b", "b", "b")
        while (taskFaker.isIdle()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  7. cmd/ftp-server-driver.go

    			"login":  fmt.Sprintf("%t", s.Sess.IsLogin()),
    			"source": source,
    		},
    	}
    }
    
    func (m *ftpMetrics) log(s *ftp.Context, paths ...string) func(sz int64, err error) {
    	startTime := time.Now()
    	source := getSource(2)
    	return func(sz int64, err error) {
    		globalTrace.Publish(ftpTrace(s, startTime, source, strings.Join(paths, " "), err, sz))
    	}
    }
    
    // Stat implements ftpDriver
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  8. cmd/sftp-server-driver.go

    			"cmd":    s.Method,
    			"param":  s.Filepath,
    			"source": source,
    		},
    	}
    }
    
    func (m *sftpMetrics) log(s *sftp.Request, user string) func(sz int64, err error) {
    	startTime := time.Now()
    	source := getSource(2)
    	return func(sz int64, err error) {
    		globalTrace.Publish(sftpTrace(s, startTime, source, user, err, sz))
    	}
    }
    
    // NewSFTPDriver initializes sftp.Handlers implementation of following interfaces
    //
    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)
  9. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

         */
        public String getId() {
            return id;
        }
    
        /**
         * Returns the source map of the suggest item.
         * @return The source map.
         */
        public Map<String, Object> getSource() {
            return SuggestItemSerializer.toSource(this);
        }
    
        /**
         * Parses a source map and returns a SuggestItem instance.
         * @param source The source map.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            if (!getResponse.isExists()) {
                return null;
            }
            final Map<String, Object> map = getResponse.getSource();
            return map.get(key);
        }
    
        private <T> T getAs(final String key, final T defaultValue, final Function<String, T> parser) {
            final Object obj = get(key);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
Back to Top