Did I find the right examples for you? yes no

All Samples(15)  |  Call(15)  |  Derive(0)  |  Import(0)

src/g/e/GeoRemindMe_Web-HEAD/src/webapp/geoalert/helpers.py   GeoRemindMe_Web(Download)
            if not event._is_public():
                return None
            memcache.set('%sEVENT%s' % (memcache.version, id), memcache.serialize_instances(event),300)
        return event
 
                    if not suggestion.user_invited(querier):
                        return None
                memcache.set('%sEVENT%s' % (memcache.version, slug), memcache.serialize_instances(suggestion),300)
                return suggestion
        return suggestion

src/g/e/GeoRemindMe_Web-HEAD/src/webapp/geoalert/helpers_poi.py   GeoRemindMe_Web(Download)
            if place is None:
                return None
            memcache.set('%splace_%s' % (memcache.version, id), memcache.serialize_instances(place), 300)
        return place
 

src/g/e/GeoRemindMe_Web-HEAD/src/webapp/geouser/models_acc.py   GeoRemindMe_Web(Download)
    def _post_put(self, **kwargs):
        import memcache
        memcache.delete('%s%s_avatarcachebase64' % (memcache.version, self.username))
        memcache.set('%s%s' % (memcache.version, self.key().name()), memcache.serialize_instances(self), 300)    
 

src/g/e/GeoRemindMe_Web-HEAD/src/webapp/geouser/models.py   GeoRemindMe_Web(Download)
    def _post_put(self, **kwargs):
        import memcache
        memcache.set('%s%s' % (memcache.version, self.key().name()), memcache.serialize_instances(self), 300)
 
    def __str__(self):
            if friends is not None and int(following.id()) in friends:
                del friends[int(following.id())]
                memcache.set('%sfriends_to_%s' % (memcache.version, self.key()), friends, 300)
            # aƱadimos el seguidor
            from models_acc import UserFollowingIndex
                        if k in self.settings.blocked_friends_sug:
                            del friends[k]
                memcache.set('%sfriends_to_%s' % (memcache.version, self.key()), friends, 11235)
        return friends
 

src/g/e/GeoRemindMe_Web-HEAD/src/webapp/georemindme/templatetags/tags.py   GeoRemindMe_Web(Download)
            image = open(file_path)
            cached_image = "data:image;base64,%s"%base64.b64encode(image)
            memcache.set('%s%s' % (memcache.version, cache_file), cached_image, 300)
        return cached_image
 
            result = urlfetch.fetch(image_url['Location'])
            encoded_image = "data:image;base64,%s" % base64.b64encode(result.content)
            memcache.set('%s%s_avatarcachebase64' % (memcache.version, username), encoded_image, 1123)
        except:
            return 'https://georemindme.appspot.com/static/facebookApp/img/no_avatar.png'

src/b/u/Buckley-HEAD/sketch/vendor/stash/__init__.py   Buckley(Download)
  def set(self, key, value):
    """docstring for set"""
    return memcache.set(key, value, self.ttl)
 
  def delete(self, key):

src/g/e/GeoRemindMe_Web-HEAD/src/webapp/geoajax/views.py   GeoRemindMe_Web(Download)
            if friends is not None and userid in friends:
                del friends[userid]
                memcache.set('%sfriends_to_%s' % (memcache.version, request.user.key()), friends, 300)
            request.user.settings.put()
            return HttpResponse(simplejson.dumps(True), mimetype="application/json")

src/b/u/Buckley-HEAD/sketch/vendor/stash/cache.py   Buckley(Download)
  def set(self, key, value):
    """docstring for set"""
    return memcache.set(key, value, self.ttl)
 
 

src/b/u/Buckley-HEAD/sketch/vendor/diffbot/cache.py   Buckley(Download)
  def set(self, key, value):
    """docstring for set"""
    return memcache.set(key, value, self.ttl)
 
 

src/p/y/py-diffbot-HEAD/diffbot/cache.py   py-diffbot(Download)
  def set(self, key, value):
    """docstring for set"""
    return memcache.set(key, value, self.ttl)
 
 

  1 | 2  Next